diff options
author | Alexander Barkov <bar@mariadb.org> | 2015-11-23 14:49:23 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2015-11-23 14:49:23 +0400 |
commit | 6b97b0c5e0c69cd1f6c1669a7ef0e873ed35b454 (patch) | |
tree | 100902d171bf315abd0fc12f1c5b2bcfce7c9bdd /mysql-test/suite/funcs_1 | |
parent | d0dc7b3e9211e4340ab0de814f8831f9df8c9afb (diff) | |
download | mariadb-git-6b97b0c5e0c69cd1f6c1669a7ef0e873ed35b454.tar.gz |
MDEV-9166 Wrong error message and shift/reduce conflicts in the RETURNS clause
Diffstat (limited to 'mysql-test/suite/funcs_1')
-rw-r--r-- | mysql-test/suite/funcs_1/r/storedproc.result | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/suite/funcs_1/r/storedproc.result b/mysql-test/suite/funcs_1/r/storedproc.result index f0e1ee74e0b..655a5d3ff96 100644 --- a/mysql-test/suite/funcs_1/r/storedproc.result +++ b/mysql-test/suite/funcs_1/r/storedproc.result @@ -3816,7 +3816,7 @@ return 1' at line 1 CREATE FUNCTION fn1(a char) returns int lang sql return 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 'sql return 1' at line 1 CREATE FUNCTION fn1(a char) returns int deterministic( return 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 'return 1)' at line 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 '( return 1)' at line 1 CREATE FUNCTION fn1(a char) returns int non deterministic return 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 'deterministic return 1' at line 1 CREATE FUNCTION fn1(a char) returns int not deterministic comment 'abc' language sql sql security refiner return 1; |