diff options
author | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2005-06-09 14:39:29 +0500 |
---|---|---|
committer | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2005-06-09 14:39:29 +0500 |
commit | f160958770ce85fe0d26f3b816d059caaf2fd67d (patch) | |
tree | 417c40506a0a56513b22ab4e2f679b8127e96fdf /mysql-test/t/sql_mode.test | |
parent | 897b3c50e8cd5d80e61b8ae8276604a7e3d76ba5 (diff) | |
download | mariadb-git-f160958770ce85fe0d26f3b816d059caaf2fd67d.tar.gz |
Fix for bug#10732: Set SQL_MODE to NULL gives garbled error message
generate proper error message if we use SET ... = NULL for 'set'
variables
Diffstat (limited to 'mysql-test/t/sql_mode.test')
-rw-r--r-- | mysql-test/t/sql_mode.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/sql_mode.test b/mysql-test/t/sql_mode.test index f841d36e837..985c0853bd2 100644 --- a/mysql-test/t/sql_mode.test +++ b/mysql-test/t/sql_mode.test @@ -80,3 +80,8 @@ create table t1 ( min_num dec(6,6) default .000001); show create table t1; drop table t1 ; +# +# Bug #10732: Set SQL_MODE to NULL gives garbled error message +# +--error 1231 +set @@SQL_MODE=NULL; |