mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02: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:
parent
3587539f22
commit
7ce32c91ba
7 changed files with 19 additions and 7 deletions
|
|
@ -59,6 +59,7 @@ SELECT @@global.log_output;
|
|||
--Error ER_WRONG_VALUE_FOR_VAR
|
||||
SET @@global.log_output = NULL;
|
||||
|
||||
--Error ER_WRONG_VALUE_FOR_VAR
|
||||
SET @@global.log_output = "";
|
||||
SELECT @@global.log_output;
|
||||
--echo 'Bug# 34838: Empty value is allowed where as it is not specified in';
|
||||
|
|
@ -171,6 +172,7 @@ WHERE VARIABLE_NAME='log_output';
|
|||
###################################################################
|
||||
|
||||
# test if variable accepts 0,1,2
|
||||
--Error ER_WRONG_VALUE_FOR_VAR
|
||||
SET @@global.log_output = 0;
|
||||
SELECT @@global.log_output;
|
||||
|
||||
|
|
@ -206,6 +208,7 @@ SET @@global.log_output = 8;
|
|||
|
||||
SET @@global.log_output = TRUE;
|
||||
SELECT @@global.log_output;
|
||||
--Error ER_WRONG_VALUE_FOR_VAR
|
||||
SET @@global.log_output = FALSE;
|
||||
SELECT @@global.log_output;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue