1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #45387 Information about statement id for prepared

statements missed from general log

A FLUSH LOGS is added to ensure that the log info hits
the file before attempting to process.
This commit is contained in:
Staale Smedseng
2009-06-15 18:03:25 +02:00
parent a964a71119
commit 81b5a391b0
2 changed files with 12 additions and 4 deletions

View File

@ -9,9 +9,10 @@ SET @old_slow_query_log_file= @@global.slow_query_log_file;
SET @@global.general_log = ON;
SET @@global.general_log_file = 'bug45387_general.log';
SET SESSION debug='+d,reset_log_last_time';
FLUSH LOGS;
SET @@global.general_log = @old_general_log;
SET @@global.general_log_file = @old_general_log_file;
SET SESSION debug='';
SET SESSION debug='-d,reset_log_last_time';
Bug#45387: ID match.
End of 5.1 tests
#