mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-6066: Merge new defaults from 5.6 and 5.7 (defaults changed, QC can be stopped with no-zero size)
This commit is contained in:
committed by
Sergei Golubchik
parent
21daa7b929
commit
e3982cead2
@@ -1,22 +1,22 @@
|
||||
SET @global_start_value = @@global.sql_mode;
|
||||
SELECT @global_start_value;
|
||||
@global_start_value
|
||||
|
||||
NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
|
||||
SET @session_start_value = @@session.sql_mode;
|
||||
SELECT @session_start_value;
|
||||
@session_start_value
|
||||
|
||||
NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
|
||||
'#--------------------FN_DYNVARS_152_01------------------------#'
|
||||
SET @@global.sql_mode = ANSI;
|
||||
SET @@global.sql_mode = DEFAULT;
|
||||
SELECT @@global.sql_mode;
|
||||
@@global.sql_mode
|
||||
|
||||
NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
|
||||
SET @@session.sql_mode = ANSI;
|
||||
SET @@session.sql_mode = DEFAULT;
|
||||
SELECT @@session.sql_mode;
|
||||
@@session.sql_mode
|
||||
|
||||
NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
|
||||
'#---------------------FN_DYNVARS_152_02-------------------------#'
|
||||
SET @@global.sql_mode = NULL;
|
||||
ERROR 42000: Variable 'sql_mode' can't be set to the value of 'NULL'
|
||||
@@ -420,8 +420,8 @@ ANSI_QUOTES
|
||||
SET @@global.sql_mode = @global_start_value;
|
||||
SELECT @@global.sql_mode;
|
||||
@@global.sql_mode
|
||||
|
||||
NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
|
||||
SET @@session.sql_mode = @session_start_value;
|
||||
SELECT @@session.sql_mode;
|
||||
@@session.sql_mode
|
||||
|
||||
NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
|
||||
|
Reference in New Issue
Block a user