From d6116b93efe23ec8d9c866e3235bfcb44a1f23cc Mon Sep 17 00:00:00 2001 From: Yujie Xia Date: Fri, 2 Apr 2021 16:55:39 +0800 Subject: [PATCH] Update dm/master/shardddl/optimist_test.go Co-authored-by: lance6716 --- dm/master/shardddl/optimist_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dm/master/shardddl/optimist_test.go b/dm/master/shardddl/optimist_test.go index 09927f9809..6d00b7c64a 100644 --- a/dm/master/shardddl/optimist_test.go +++ b/dm/master/shardddl/optimist_test.go @@ -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})