mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Better error messages for not nullable
SET character_set_xxx=NULL and SET collation_xxx=NULL
This commit is contained in:
@ -233,6 +233,10 @@ set character_set_client=UNKNOWN_CHARACTER_SET;
|
||||
ERROR 42000: Unknown character set: 'UNKNOWN_CHARACTER_SET'
|
||||
set collation_connection=UNKNOWN_COLLATION;
|
||||
ERROR HY000: Unknown collation: 'UNKNOWN_COLLATION'
|
||||
set character_set_client=NULL;
|
||||
ERROR 42000: Variable 'character_set_client' can't be set to the value of 'NULL'
|
||||
set collation_connection=NULL;
|
||||
ERROR 42000: Variable 'collation_connection' can't be set to the value of 'NULL'
|
||||
set global autocommit=1;
|
||||
ERROR HY000: Variable 'autocommit' is a SESSION variable and can't be used with SET GLOBAL
|
||||
select @@global.timestamp;
|
||||
|
Reference in New Issue
Block a user