Commit 8251e016 authored by unknown's avatar unknown

Fix for BUG#22511: IM does not remove angel-pid-file on clean shutdown


server-tools/instance-manager/mysqlmanager.cc:
  Delete IM-angel pid file on exit.
parent f44759c7
...@@ -355,6 +355,10 @@ spawn: ...@@ -355,6 +355,10 @@ spawn:
sleep(1); /* don't respawn too fast */ sleep(1); /* don't respawn too fast */
goto spawn; goto spawn;
} }
/* Delete IM-angel pid file. */
my_delete(Options::angel_pid_file_name, MYF(0));
/* /*
mysqlmanager successfully exited, let's silently evaporate mysqlmanager successfully exited, let's silently evaporate
If we return to main we fall into the manager() function, so let's If we return to main we fall into the manager() function, so let's
......
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