summaryrefslogtreecommitdiff
path: root/mysql-test/r/keywords.result
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-03-14 18:39:22 +0200
committerMichael Widenius <monty@askmonty.org>2013-03-14 18:39:22 +0200
commitde5d2550af51593513e3770f109380dcf85979ef (patch)
tree5e78e34b2776926210397f1d4bb2da4b8d0e64aa /mysql-test/r/keywords.result
parentb0f5c4dbe1df0caf4b5ca1216000f1f87553ad4c (diff)
downloadmariadb-git-de5d2550af51593513e3770f109380dcf85979ef.tar.gz
OPTION is now a valid identifier (not a reserved word)
mysql-test/r/keywords.result: Test that option works as table/column/variable mysql-test/suite/funcs_1/r/storedproc.result: OPTION is now a valid identifier mysql-test/suite/funcs_1/t/storedproc.test: OPTION is now a valid identifier mysql-test/t/keywords.test: Test that option works as table/column/variable sql/sql_yacc.yy: OPTION is now a valid identifier
Diffstat (limited to 'mysql-test/r/keywords.result')
-rw-r--r--mysql-test/r/keywords.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/keywords.result b/mysql-test/r/keywords.result
index 58cb7430563..a1d8e40eae3 100644
--- a/mysql-test/r/keywords.result
+++ b/mysql-test/r/keywords.result
@@ -269,3 +269,9 @@ call p2();
DROP PROCEDURE p1;
DROP PROCEDURE p2;
DROP TABLE t1;
+create table option (option int not null);
+drop table option;
+set option=1;
+ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '=1' at line 1
+set option option=1;
+ERROR HY000: Unknown system variable 'option'