summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/sql_sequence/rename.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/sql_sequence/rename.test')
-rw-r--r--mysql-test/suite/sql_sequence/rename.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/suite/sql_sequence/rename.test b/mysql-test/suite/sql_sequence/rename.test
new file mode 100644
index 00000000..232a1bda
--- /dev/null
+++ b/mysql-test/suite/sql_sequence/rename.test
@@ -0,0 +1,6 @@
+CREATE SEQUENCE seq1;
+--error ER_NO_SUCH_TABLE
+RENAME TABLE seq1 TO seq2, seq3 TO seq4;
+LOCK TABLE seq1 READ;
+UNLOCK TABLES;
+drop table seq1;