Skip to content

Commit

Permalink
run make fmt (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwen0 authored Feb 19, 2019
1 parent 1a02077 commit 2a5d942
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
7 changes: 4 additions & 3 deletions ddl_checker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ import (
"context"
"flag"
"fmt"
"os"
"strings"
"unicode"

_ "github.com/go-sql-driver/mysql"
"github.com/pingcap/errors"
"github.com/pingcap/tidb-tools/pkg/dbutil"
"github.com/pingcap/tidb-tools/pkg/ddl-checker"
"os"
"strings"
"unicode"
)

var (
Expand Down
1 change: 1 addition & 0 deletions pkg/ddl-checker/ddl_syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package checker
import (
"context"
"database/sql"

"github.com/pingcap/errors"
"github.com/pingcap/tidb-tools/pkg/dbutil"
)
Expand Down
1 change: 1 addition & 0 deletions pkg/ddl-checker/executable_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package checker
import (
"context"
"fmt"

"github.com/pingcap/errors"
"github.com/pingcap/parser"
"github.com/pingcap/parser/ast"
Expand Down
3 changes: 2 additions & 1 deletion pkg/ddl-checker/executable_checker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ package checker
import (
"container/list"
"context"
. "github.com/pingcap/check"
"testing"

. "github.com/pingcap/check"
)

var _ = Suite(&testSuite{})
Expand Down
1 change: 0 additions & 1 deletion pkg/diff/chunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ func (s *randomSpliter) splitRange(db *sql.DB, chunk *chunkRange, count int, sch
return append(chunks, chunk), nil
}


// choose the next column to split data
useNewColumn = true
splitCol = columns[colNum].Name.O
Expand Down
3 changes: 2 additions & 1 deletion pkg/utils/urls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
package utils

import (
. "github.com/pingcap/check"
"testing"

. "github.com/pingcap/check"
)

func TestClient(t *testing.T) {
Expand Down

0 comments on commit 2a5d942

Please sign in to comment.