List:Commits« Previous MessageNext Message »
From:konstantin Date:June 15 2007 10:32am
Subject:bk commit into 5.1 tree (kostja:1.2552)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of kostja. When kostja 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, 2007-06-15 12:32:06+04:00, kostja@bodhi.(none) +1 -0
  Another attempt to fix the valgrind warning in SHOW PROCESSLIST.

  sql/event_data_objects.cc@stripped, 2007-06-15 12:32:04+04:00, kostja@bodhi.(none) +3 -0
    Another attempt to fix the valgrind warning in SHOW PROCESSLIST.

# 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:	kostja
# Host:	bodhi.(none)
# Root:	/opt/local/work/mysql-5.1-runtime

--- 1.102/sql/event_data_objects.cc	2007-06-12 21:04:18 +04:00
+++ 1.103/sql/event_data_objects.cc	2007-06-15 12:32:04 +04:00
@@ -1949,6 +1949,9 @@
   thd->lex->unit.cleanup();
   thd->end_statement();
   thd->cleanup_after_query();
+  /* Avoid races with SHOW PROCESSLIST */
+  thd->query= NULL;
+  thd->query_length= 0;
 
   DBUG_PRINT("info", ("EXECUTED %s.%s  ret: %d", dbname.str, name.str, ret));
 
Thread
bk commit into 5.1 tree (kostja:1.2552)konstantin15 Jun