Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
WangXiangUSTC committed Dec 12, 2019
1 parent 157d14e commit 17be9e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/dbutil/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ func GetTableInfoBySQL(createTableSQL string, sqlMode string) (table *model.Tabl
pkIndex := &model.IndexInfo{
Name: model.NewCIStr("PRIMARY"),
Primary: true,
State: model.StatePublic,
Unique: true,
Columns: []*model.IndexColumn{
{
Name: table.GetPkName(),
Expand Down

0 comments on commit 17be9e7

Please sign in to comment.