List:Commits« Previous MessageNext Message »
From:msvensson Date:December 21 2006 3:43pm
Subject:bk commit into 5.1 tree (msvensson:1.2376)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of msvensson. When msvensson 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-12-21 16:43:11+01:00, msvensson@stripped +1 -0
  Add call to 'thd::clean_up' before deleting THD

  sql/ha_ndbcluster_binlog.cc@stripped, 2006-12-21 16:43:09+01:00, msvensson@stripped +1 -1
    Add call to 'thd::clean_up' before deleting THD

# 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:	msvensson
# Host:	pilot.mysql.com
# Root:	/home/msvensson/mysql/mysql-5.1-new-ndb

--- 1.93/sql/ha_ndbcluster_binlog.cc	2006-12-21 12:08:31 +01:00
+++ 1.94/sql/ha_ndbcluster_binlog.cc	2006-12-21 16:43:09 +01:00
@@ -4015,8 +4015,8 @@
 
   hash_free(&ndb_schema_objects);
 
-  // Placed here to avoid a memory leak; TODO: check if needed
   net_end(&thd->net);
+  thd->cleanup();
   delete thd;
 
   ndb_binlog_thread_running= -1;
Thread
bk commit into 5.1 tree (msvensson:1.2376)msvensson21 Dec