提交 8ee31a3b authored 作者: Timofey Kuznetsov's avatar Timofey Kuznetsov

add test for Mysql: DROP INDEX index_name ON tbl_name

上级 9dce865d
...@@ -399,6 +399,8 @@ public class TestCompatibility extends TestBase { ...@@ -399,6 +399,8 @@ public class TestCompatibility extends TestBase {
stat.execute("ALTER TABLE TEST_COMMENT_ENGINE ADD CONSTRAINT CommentUnique UNIQUE (SOME_ITEM_ID)"); stat.execute("ALTER TABLE TEST_COMMENT_ENGINE ADD CONSTRAINT CommentUnique UNIQUE (SOME_ITEM_ID)");
stat.execute("ALTER TABLE TEST_COMMENT_ENGINE DROP INDEX CommentUnique"); stat.execute("ALTER TABLE TEST_COMMENT_ENGINE DROP INDEX CommentUnique");
stat.execute("DROP INDEX SOME_ITEM_ID ON TEST_COMMENT_ENGINE"); stat.execute("DROP INDEX SOME_ITEM_ID ON TEST_COMMENT_ENGINE");
stat.execute("CREATE INDEX IDX_ATTACHMENT_ID ON TEST_COMMENT_ENGINE (ATTACHMENT_ID)");
stat.execute("DROP INDEX IDX_ATTACHMENT_ID ON TEST_COMMENT_ENGINE");
conn.close(); conn.close();
conn = getConnection("compatibility"); conn = getConnection("compatibility");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论