2009-06-12 16:28:10 +02:00
|
|
|
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;
|
|
|
|
#
|
2009-06-16 01:27:27 +02:00
|
|
|
# Bug#45387 Information about statement id for prepared
|
2009-06-12 16:28:10 +02:00
|
|
|
# statements missed from general log
|
|
|
|
#
|
|
|
|
SET @@global.general_log = ON;
|
|
|
|
SET @@global.general_log_file = 'bug45387_general.log';
|
|
|
|
SET SESSION debug='+d,reset_log_last_time';
|
2009-06-15 18:03:25 +02:00
|
|
|
FLUSH LOGS;
|
2009-06-12 16:28:10 +02:00
|
|
|
SET @@global.general_log = @old_general_log;
|
|
|
|
SET @@global.general_log_file = @old_general_log_file;
|
2009-06-16 01:27:27 +02:00
|
|
|
SET SESSION debug='-d';
|
2009-06-12 16:28:10 +02:00
|
|
|
Bug#45387: ID match.
|
|
|
|
End of 5.1 tests
|
|
|
|
#
|
|
|
|
# Cleanup
|
|
|
|
#
|
|
|
|
SET global general_log = @old_general_log;
|
|
|
|
SET global general_log_file = @old_general_log_file;
|
|
|
|
SET global slow_query_log = @old_slow_query_log;
|
|
|
|
SET global slow_query_log_file = @old_slow_query_log_file;
|