diff options
author | Michael Widenius <monty@askmonty.org> | 2013-03-14 18:39:22 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2013-03-14 18:39:22 +0200 |
commit | de5d2550af51593513e3770f109380dcf85979ef (patch) | |
tree | 5e78e34b2776926210397f1d4bb2da4b8d0e64aa /mysql-test/r/keywords.result | |
parent | b0f5c4dbe1df0caf4b5ca1216000f1f87553ad4c (diff) | |
download | mariadb-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.result | 6 |
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' |