Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

sql: plan: Add SHOW CREATE TABLE [Fix #406] #435

Merged
merged 15 commits into from
Oct 17, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
sql: parse/plan: Clean imports
Signed-off-by: Theodoros Zarkopafilis Ntakouris <zarkopafilis@gmail.com>
  • Loading branch information
ntakouris committed Oct 15, 2018
commit b4e04f1fc4bdbf9969ada14975c636fb60b9327b
2 changes: 0 additions & 2 deletions sql/parse/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ import (
"regexp"
"strconv"
"strings"
)

import (
"github.com/opentracing/opentracing-go"
"github.com/sirupsen/logrus"
"gopkg.in/src-d/go-errors.v1"
Expand Down
5 changes: 2 additions & 3 deletions sql/parse/show_create_test.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package parse

import (
"github.com/stretchr/testify/require"
"testing"
)

import (
"github.com/stretchr/testify/require"
"gopkg.in/src-d/go-errors.v1"
"gopkg.in/src-d/go-mysql-server.v0/sql"
"gopkg.in/src-d/go-mysql-server.v0/sql/plan"
)
s

func TestParseShowCreateTableQuery(t *testing.T) {
testCases := []struct {
Expand Down
2 changes: 0 additions & 2 deletions sql/plan/show_create_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import (
"fmt"
"io"
"strings"
)

import (
"gopkg.in/src-d/go-errors.v1"
"gopkg.in/src-d/go-mysql-server.v0/sql"
)
Expand Down
3 changes: 2 additions & 1 deletion sql/plan/show_create_table_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package plan

import (
"testing"

"github.com/stretchr/testify/require"
"gopkg.in/src-d/go-mysql-server.v0/mem"
"gopkg.in/src-d/go-mysql-server.v0/sql"
"testing"
)

func TestShowCreateTable(t *testing.T) {
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy