Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
Update dm/master/shardddl/optimist_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: lance6716 <[email protected]>
  • Loading branch information
sleepymole and lance6716 authored Apr 2, 2021
1 parent 57da898 commit d6116b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dm/master/shardddl/optimist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ func (t *testOptimist) TestBuildLockWithInitSchema(c *C) {
ti1 = createTableInfo(c, p, se, tblID, `CREATE TABLE bar (a INT PRIMARY KEY, b INT)`)
ti2 = createTableInfo(c, p, se, tblID, `CREATE TABLE bar (a INT PRIMARY KEY)`)

ddlDropB = "ALTER TABLE bar dROP COLUMN b"
ddlDropB = "ALTER TABLE bar DROP COLUMN b"
ddlDropC = "ALTER TABLE bar DROP COLUMN c"
infoDropB = optimism.NewInfo(task, source1, "foo", "bar-1", downSchema, downTable, []string{ddlDropC}, ti0, []*model.TableInfo{ti1})
infoDropC = optimism.NewInfo(task, source1, "foo", "bar-1", downSchema, downTable, []string{ddlDropB}, ti1, []*model.TableInfo{ti2})
Expand Down

0 comments on commit d6116b9

Please sign in to comment.