Below is the list of changes that have just been committed into a local
5.1 repository of tim. When tim does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2006-10-09 16:26:07-06:00, tsmith@stripped +1 -0
Merge siva.hindu.god:/usr/home/tim/m/bk/b19764/51
into siva.hindu.god:/usr/home/tim/m/bk/tmp/51
MERGE: 1.2340.2.1
sql/sql_parse.cc@stripped, 2006-10-09 16:26:01-06:00, tsmith@stripped +0 -0
Auto merged
MERGE: 1.584.1.1
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: tsmith
# Host: siva.hindu.god
# Root: /usr/home/tim/m/bk/tmp/51/RESYNC
--- 1.585/sql/sql_parse.cc 2006-10-09 16:26:15 -06:00
+++ 1.586/sql/sql_parse.cc 2006-10-09 16:26:15 -06:00
@@ -2212,10 +2212,10 @@ void log_slow_statement(THD *thd)
thd->end_time(); // Set start time
/*
- Do not log administrative statements unless the appropriate option is
- set; do not log into slow log if reading from backup.
+ Do not log administrative or SHOW 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)
+ if (thd->enable_slow_log && !thd->user_time && !thd->lex->is_show_command)
{
thd->proc_info="logging slow query";
| Thread |
|---|
| • bk commit into 5.1 tree (tsmith:1.2356) | tim | 10 Oct |