mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +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. mysql-test/t/log_tables_debug.test: A FLUSH LOGS is added, and in the event that a match is not found, <FILE> is reset and the contents of the log file is dumped for debugging purposes.
This commit is contained in:
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user