Commit 308f8e32 authored by Horst.Hunger's avatar Horst.Hunger

Merge of results of the review done in 5.1-bugteam to 5.1.

parents 02b45f2a 32102073
...@@ -16,4 +16,4 @@ FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES ...@@ -16,4 +16,4 @@ FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='general_log_file'; WHERE VARIABLE_NAME='general_log_file';
@@global.general_log_file = VARIABLE_VALUE @@global.general_log_file = VARIABLE_VALUE
1 1
SET @@global.general_log_file= 'test.log'; SET @@global.general_log_file= 'start_value';
...@@ -52,7 +52,7 @@ count(*) ...@@ -52,7 +52,7 @@ count(*)
DROP TABLE t1; DROP TABLE t1;
connection default; connection default;
SET @@global.general_log= 'OFF'; SET @@global.general_log= 'OFF';
SET @@global.general_log_file= '/home/horst/bzr/5.1-52501/mysql-test/var/mysqld.1/mysqld.log'; SET @@global.general_log_file= 'start_general_log_file';
SET @@global.log_output= @start_value; SET @@global.log_output= @start_value;
SET @@global.general_log= @start_general_log; SET @@global.general_log= @start_general_log;
SET @@global.general_log= 'ON'; SET @@global.general_log= 'ON';
...@@ -14,4 +14,4 @@ FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES ...@@ -14,4 +14,4 @@ FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='slow_query_log_file'; WHERE VARIABLE_NAME='slow_query_log_file';
@@global.slow_query_log_file = VARIABLE_VALUE @@global.slow_query_log_file = VARIABLE_VALUE
1 1
SET @@global.slow_query_log_file= 'slowtest.log'; SET @@global.slow_query_log_file= 'start_value';
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
# # # #
################################################################################ ################################################################################
let $save_div_precision_increment = `SELECT @@global.div_precision_increment` let $save_div_precision_increment = `SELECT @@global.div_precision_increment`;
#SET @save_div_precision_increment = @@global.div_precision_increment; #SET @save_div_precision_increment = @@global.div_precision_increment;
......
...@@ -70,6 +70,7 @@ FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES ...@@ -70,6 +70,7 @@ FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='general_log_file'; WHERE VARIABLE_NAME='general_log_file';
#SET @@global.general_log_file= @start_value; #SET @@global.general_log_file= @start_value;
--replace_result $start_value start_value
eval SET @@global.general_log_file= '$start_value'; eval SET @@global.general_log_file= '$start_value';
##################################################### #####################################################
......
...@@ -115,6 +115,7 @@ file_exists $MYSQLTEST_VARDIR/run/mytest.log ; ...@@ -115,6 +115,7 @@ file_exists $MYSQLTEST_VARDIR/run/mytest.log ;
connection default; connection default;
SET @@global.general_log= 'OFF'; SET @@global.general_log= 'OFF';
#SET @@global.general_log_file= @start_general_log_file; #SET @@global.general_log_file= @start_general_log_file;
--replace_result $start_general_log_file start_general_log_file
eval SET @@global.general_log_file= '$start_general_log_file'; eval SET @@global.general_log_file= '$start_general_log_file';
SET @@global.log_output= @start_value; SET @@global.log_output= @start_value;
SET @@global.general_log= @start_general_log; SET @@global.general_log= @start_general_log;
......
...@@ -68,6 +68,7 @@ FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES ...@@ -68,6 +68,7 @@ FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='slow_query_log_file'; WHERE VARIABLE_NAME='slow_query_log_file';
#SET @@global.slow_query_log_file= @start_value; #SET @@global.slow_query_log_file= @start_value;
--replace_result $start_value start_value
eval SET @@global.slow_query_log_file= '$start_value'; eval SET @@global.slow_query_log_file= '$start_value';
#SELECT @start_value; #SELECT @start_value;
##################################################### #####################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment