diff options
Diffstat (limited to 'mysql-test/main/log_state.result')
-rw-r--r-- | mysql-test/main/log_state.result | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/main/log_state.result b/mysql-test/main/log_state.result index d4f98a6bde9..5e7aac81b0c 100644 --- a/mysql-test/main/log_state.result +++ b/mysql-test/main/log_state.result @@ -3,6 +3,7 @@ SET @old_general_log= @@global.general_log; SET @old_general_log_file= @@global.general_log_file; SET @old_slow_query_log= @@global.slow_query_log; SET @old_slow_query_log_file= @@global.slow_query_log_file; +set @save_long_query_time=@@long_query_time; set global general_log= OFF; truncate table mysql.general_log; truncate table mysql.slow_log; @@ -276,7 +277,7 @@ SELECT @@general_log_file = @my_glf; SET GLOBAL general_log_file = @old_general_log_file; disconnect con1; connection default; -SET GLOBAL long_query_time = DEFAULT; +SET GLOBAL long_query_time = @save_long_query_time; SET GLOBAL log_output = @old_log_output; SET global general_log = @old_general_log; SET global general_log_file = @old_general_log_file; |