From 559e9ebbad9e139499fb85a041af0033467eeabd Mon Sep 17 00:00:00 2001 From: Chao Wang Date: Fri, 10 Dec 2021 17:25:26 +0800 Subject: [PATCH] fix build break --- executor/executor_test.go | 2 +- parser/model/model_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/executor/executor_test.go b/executor/executor_test.go index f503504d739b0..c93aa09e6ccdf 100644 --- a/executor/executor_test.go +++ b/executor/executor_test.go @@ -615,7 +615,7 @@ func (s *testSuiteP2) TestAdminShowDDLJobsInfo(c *C) { "PRIMARY_REGION=\"cn-east-1\" " + "REGIONS=\"cn-east-1, cn-east-2\" " + "FOLLOWERS=2 ") - c.Assert(tk.MustQuery("admin show ddl jobs 1").Rows()[0][3], Equals, "alter table partition policy") + c.Assert(tk.MustQuery("admin show ddl jobs 1").Rows()[0][3], Equals, "alter table partition placement") tk.MustExec("alter table tt1 cache") c.Assert(tk.MustQuery("admin show ddl jobs 1").Rows()[0][3], Equals, "alter table cache") diff --git a/parser/model/model_test.go b/parser/model/model_test.go index 8c2365ea47ca4..c4968aa48855c 100644 --- a/parser/model/model_test.go +++ b/parser/model/model_test.go @@ -302,7 +302,7 @@ func TestString(t *testing.T) { {ActionModifySchemaCharsetAndCollate, "modify schema charset and collate"}, {ActionDropIndexes, "drop multi-indexes"}, {ActionAlterTablePlacement, "alter table placement"}, - {ActionAlterTablePartitionPolicy, "alter table partition policy"}, + {ActionAlterTablePartitionPlacement, "alter table partition placement"}, {ActionAlterNoCacheTable, "alter table nocache"}, }