mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
24 lines
825 B
Text
24 lines
825 B
Text
|
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;
|
||
|
#
|
||
|
# Bug#45387 Information about statement id for prepared
|
||
|
# 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';
|
||
|
SET @@global.general_log = @old_general_log;
|
||
|
SET @@global.general_log_file = @old_general_log_file;
|
||
|
SET SESSION debug='';
|
||
|
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;
|