fix for bug#9968 (slow query log contains useless entries)
Query has to be written to the log before calling thd->set_statement(&stmt_backup), otherwise query will be empty. Setting thd->enabe_slow_log to FALSE prevents that dispatch_command logs the (empty) query again.
Showing
Please register or sign in to comment