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-11-17 13:18:09+01:00, msvensson@neptunus.(none) +1 -0
Bug#24361 valgrind error when shutting down mysqld connected to cluster
- Disconnect from transporter before starting to delete objects
storage/ndb/src/ndbapi/Ndbinit.cpp@stripped, 2006-11-17 13:18:05+01:00, msvensson@neptunus.(none) +4 -3
Make sure to diconnect from transporter to stop signals from coming in before
starting to delete the objects that would recieve the signals
# 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: neptunus.(none)
# Root: /home/msvensson/mysql/mysql-5.1-new-ndb
--- 1.41/storage/ndb/src/ndbapi/Ndbinit.cpp 2006-11-17 13:18:15 +01:00
+++ 1.42/storage/ndb/src/ndbapi/Ndbinit.cpp 2006-11-17 13:18:15 +01:00
@@ -146,12 +146,13 @@ Ndb::~Ndb()
}
doDisconnect();
- delete theEventBuffer;
-
+ /* Disconnect from transporter to stop signals from coming in */
if (theImpl->m_transporter_facade != NULL && theNdbBlockNumber > 0){
theImpl->m_transporter_facade->close(theNdbBlockNumber, theFirstTransId);
}
-
+
+ delete theEventBuffer;
+
releaseTransactionArrays();
delete []theConnectionArray;
| Thread |
|---|
| • bk commit into 5.1 tree (msvensson:1.2323) BUG#24361 | msvensson | 17 Nov |