Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
ywqzzy committed Mar 21, 2024
1 parent ea9be28 commit 25b1f77
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pkg/ddl/db_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3281,17 +3281,3 @@ func TestOptimizeTable(t *testing.T) {
tk := testkit.NewTestKit(t, store)
tk.MustGetErrMsg("optimize table t", "[ddl:8200]OPTIMIZE TABLE is not supported")
}

func TestYWQ(t *testing.T) {
store := testkit.CreateMockStore(t)
tk := testkit.NewTestKit(t, store)
tk.MustExec("use test")
tk.MustExec("create table t(j json);")
tk.MustExec("alter table t add index idx1((cast(j as char(10) array)));")
tk.MustExec("alter table t rename index idx1 to idx2;")
tk.MustExec("alter table t add index idx1((cast(j as char(10) array)));")

tk.MustExec("alter table t add index IDX3((cast(j as char(10) array)));")
tk.MustExec("alter table t rename index IDX3 to IDX4;")
tk.MustExec("alter table t add index IDX3((cast(j as char(10) array)));")
}

0 comments on commit 25b1f77

Please sign in to comment.