summaryrefslogtreecommitdiff
path: root/mysql-test/t/keywords.test
diff options
context:
space:
mode:
authorunknown <acurtis/antony@xiphis.org/ltantony.xiphis.org>2006-07-20 12:54:01 -0700
committerunknown <acurtis/antony@xiphis.org/ltantony.xiphis.org>2006-07-20 12:54:01 -0700
commitca78b386d6991efa3a5281d6b2b1fa692bf3a847 (patch)
tree4f23089411320a06541978a6ea4b662190a4043e /mysql-test/t/keywords.test
parent98a63cde87b4fc4fced22b12d3a0651afec9a133 (diff)
downloadmariadb-git-ca78b386d6991efa3a5281d6b2b1fa692bf3a847.tar.gz
Bug#19939
AUTHORS and CONTRIBUTORS are not reserved keywords. mysql-test/r/keywords.result: Bug#19939 Test for bug mysql-test/t/keywords.test: Bug#19939 Test for bug
Diffstat (limited to 'mysql-test/t/keywords.test')
-rw-r--r--mysql-test/t/keywords.test24
1 files changed, 24 insertions, 0 deletions
diff --git a/mysql-test/t/keywords.test b/mysql-test/t/keywords.test
index de0159a950e..1af4a1354be 100644
--- a/mysql-test/t/keywords.test
+++ b/mysql-test/t/keywords.test
@@ -19,3 +19,27 @@ select events.binlog from events;
drop table events;
# End of 4.1 tests
+
+#
+# Bug#19939 "AUTHORS is not a keyword"
+#
+delimiter |;
+create procedure p1()
+begin
+ declare n int default 2;
+ authors: while n > 0 do
+ set n = n -1;
+ end while authors;
+end|
+create procedure p2()
+begin
+ declare n int default 2;
+ contributors: while n > 0 do
+ set n = n -1;
+ end while contributors;
+end|
+delimiter ;|
+drop procedure p1;
+drop procedure p2;
+
+# End of 5.1 tests