mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Revert patch for bug #19764, which did not work with prepared statements.
This commit is contained in:
@@ -2150,10 +2150,10 @@ void log_slow_statement(THD *thd)
|
||||
thd->end_time(); // Set start time
|
||||
|
||||
/*
|
||||
Do not log administrative or SHOW statements unless the appropriate
|
||||
option is set; do not log into slow log if reading from backup.
|
||||
Do not log administrative statements unless the appropriate option is
|
||||
set; do not log into slow log if reading from backup.
|
||||
*/
|
||||
if (thd->enable_slow_log && !thd->user_time && !thd->lex->is_show_command)
|
||||
if (thd->enable_slow_log && !thd->user_time)
|
||||
{
|
||||
thd->proc_info="logging slow query";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user