Commit 36979d19 authored by stewart@mysql.com's avatar stewart@mysql.com

BUG#11132 Connections stuck in CLOSE_WAIT

This fixes the problem in 5.0 in the correct way.

The previous patch (for 4.1) is only valid for 4.1 and is done at the right time
for 4.1.
parent a9338b4e
......@@ -101,6 +101,12 @@ int main(int argc, char** argv)
*/
catchsigs(true);
/**
* We no longer need the mgm connection in this process
* (as we are the angel, not ndb)
*/
theConfig->closeConfiguration();
int status = 0;
while(waitpid(child, &status, 0) != child);
if(WIFEXITED(status)){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment