934
948
set global general_log = off;
935
949
select command_type, argument from mysql.general_log where thread_id = @thread_id;
936
950
deallocate prepare long_query;
940
954
# Bug#34306: Can't make copy of log tables when server binary log is enabled