1
0
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:
tsmith/tim@siva.hindu.god
2006-10-11 23:35:52 -06:00
parent f5c4d75e8f
commit 360540e891
7 changed files with 5 additions and 42 deletions

View File

@@ -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";