summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sql_sequence/next.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/sql_sequence/next.result')
-rw-r--r--mysql-test/suite/sql_sequence/next.result7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/suite/sql_sequence/next.result b/mysql-test/suite/sql_sequence/next.result
index a10c131e0e1..d138c342c9d 100644
--- a/mysql-test/suite/sql_sequence/next.result
+++ b/mysql-test/suite/sql_sequence/next.result
@@ -512,3 +512,10 @@ def PREVIOUS VALUE FOR s1 8 20 1 Y 32896 0 63
NEXT VALUE FOR s1 PREVIOUS VALUE FOR s1
1 1
DROP SEQUENCE s1;
+#
+# MDEV-13720 ER_NOT_SEQUENCE for temporary table
+#
+create temporary table tmp (i int);
+select next value for tmp;
+ERROR 42S02: 'test.tmp' is not a SEQUENCE
+drop table tmp;