#At file:///home/msvensson/mysql/7.0/ based on revid:frazer@stripped
3651 Magnus Blåudd 2010-07-29
Bug#55205 Memory leak in ndb_mgmd when --disable-config-cache is used
- Unsubscribe from incoming signals before terminating the ConfigManager thread
modified:
storage/ndb/src/mgmsrv/ConfigManager.cpp
=== modified file 'storage/ndb/src/mgmsrv/ConfigManager.cpp'
--- a/storage/ndb/src/mgmsrv/ConfigManager.cpp 2010-05-11 22:28:25 +0000
+++ b/storage/ndb/src/mgmsrv/ConfigManager.cpp 2010-07-29 15:07:03 +0000
@@ -1735,6 +1735,11 @@ ConfigManager::run()
if (!m_opts.config_cache)
{
+ /* Stop receiving signals by closing ConfigManager's
+ block in TransporterFacade */
+ delete m_ss;
+ m_ss = NULL;
+
/* Confirm the present config, free the space that was allocated for a
new one, and terminate the manager thread */
delete m_new_config;
Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20100729150703-kphrstz6lbxn5n6s.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:3651) Bug#55205 | Magnus Blåudd | 29 Jul |