mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
A number of fixes after a merge from the main 5.1 tree:
the local tree contains a fix for Bug#32748 "Inconsistent handling of assignments to general_log_file/slow_query_log_file", which changes output of a number of tests. mysql-test/r/general_log_file_basic.result: Update results (Bug#32748) mysql-test/r/log_output_basic.result: Update the test with results of the fix for Bug#32748 mysql-test/r/slow_query_log_file_basic.result: Update the test with results of the fix for Bug#32748 mysql-test/t/general_log_file_basic.test: Adjust to take into account the fix for Bug#32748 (a port from 6.0-bugteam) mysql-test/t/log_output_basic.test: Adjust to take into account the fix for Bug#32748 (a port from 6.0-bugteam) mysql-test/t/slow_query_log_file_basic.test: Adjust to take into account the fix for Bug#32748 (a port from 6.0-bugteam) tests/mysql_client_test.c: Fix a compilation warning.
This commit is contained in:
@ -15,9 +15,10 @@ FILE
|
||||
SET @@global.log_output = NULL;
|
||||
ERROR 42000: Variable 'log_output' can't be set to the value of 'NULL'
|
||||
SET @@global.log_output = "";
|
||||
ERROR 42000: Variable 'log_output' can't be set to the value of ''
|
||||
SELECT @@global.log_output;
|
||||
@@global.log_output
|
||||
|
||||
FILE
|
||||
'Bug# 34838: Empty value is allowed where as it is not specified in';
|
||||
'documentation';
|
||||
'#--------------------FN_DYNVARS_065_03------------------------#'
|
||||
@ -117,6 +118,7 @@ WHERE VARIABLE_NAME='log_output';
|
||||
1
|
||||
'#---------------------FN_DYNVARS_065_07-------------------------#'
|
||||
SET @@global.log_output = 0;
|
||||
ERROR 42000: Variable 'log_output' can't be set to the value of '0'
|
||||
SELECT @@global.log_output;
|
||||
@@global.log_output
|
||||
|
||||
@ -156,9 +158,10 @@ SELECT @@global.log_output;
|
||||
@@global.log_output
|
||||
NONE
|
||||
SET @@global.log_output = FALSE;
|
||||
ERROR 42000: Variable 'log_output' can't be set to the value of '0'
|
||||
SELECT @@global.log_output;
|
||||
@@global.log_output
|
||||
|
||||
NONE
|
||||
'#---------------------FN_DYNVARS_065_09----------------------#'
|
||||
SET log_output = ON;
|
||||
ERROR HY000: Variable 'log_output' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
|
Reference in New Issue
Block a user