diff options
author | halfspawn <j.brauge@qualiac.com> | 2018-03-27 09:08:30 +0200 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-03-29 14:27:57 +0400 |
commit | 209375fdd07d9be79784984f8543be73d1f92a9a (patch) | |
tree | 938c1ab12ab0a4daf616c1a0e43c0f51d4b8873a /mysql-test/t/parser.test | |
parent | 4faf34ad639a28a29ddfc84547108fad058d00ca (diff) | |
download | mariadb-git-209375fdd07d9be79784984f8543be73d1f92a9a.tar.gz |
MDEV-15664 : sql_mode=ORACLE: Make TRIM return NULL instead of empty string
Diffstat (limited to 'mysql-test/t/parser.test')
-rw-r--r-- | mysql-test/t/parser.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/parser.test b/mysql-test/t/parser.test index 08b6d341c90..1f176c6afc5 100644 --- a/mysql-test/t/parser.test +++ b/mysql-test/t/parser.test @@ -1361,6 +1361,13 @@ CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW SET @@NEW.a=0; DROP TABLE t1; --echo # +--echo # MDEV-15664 sql_mode=ORACLE: Make TRIM return NULL instead of empty string +--echo # + +CREATE TABLE trim_oracle (trim_oracle int); +DROP TABLE trim_oracle; + +--echo # --echo # MDEV-15615 Unexpected syntax error instead of "Unknown system variable" inside an SP --echo # |