1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

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
This commit is contained in:
unknown
2005-06-09 14:39:29 +05:00
parent 897b3c50e8
commit f160958770
3 changed files with 10 additions and 0 deletions

View File

@ -138,3 +138,5 @@ t1 CREATE TABLE `t1` (
`min_num` decimal(7,6) default '0.000001'
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1 ;
set @@SQL_MODE=NULL;
ERROR 42000: Variable 'sql_mode' can't be set to the value of 'NULL'