diff options
author | unknown <anozdrin/alik@booka.opbmk> | 2007-02-24 13:18:09 +0300 |
---|---|---|
committer | unknown <anozdrin/alik@booka.opbmk> | 2007-02-24 13:18:09 +0300 |
commit | 8251e016d7ddc5efbefab0edbcef461d4b60d747 (patch) | |
tree | f100ce04393f9d3d63d537c173c2ecf23606bbd2 /server-tools | |
parent | f44759c71d870585b661ff6e6aa746a3c1fa4ede (diff) | |
download | mariadb-git-8251e016d7ddc5efbefab0edbcef461d4b60d747.tar.gz |
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.
Diffstat (limited to 'server-tools')
-rw-r--r-- | server-tools/instance-manager/mysqlmanager.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server-tools/instance-manager/mysqlmanager.cc b/server-tools/instance-manager/mysqlmanager.cc index 83918092454..4f378c61ca4 100644 --- a/server-tools/instance-manager/mysqlmanager.cc +++ b/server-tools/instance-manager/mysqlmanager.cc @@ -355,6 +355,10 @@ spawn: sleep(1); /* don't respawn too fast */ goto spawn; } + + /* Delete IM-angel pid file. */ + my_delete(Options::angel_pid_file_name, MYF(0)); + /* mysqlmanager successfully exited, let's silently evaporate If we return to main we fall into the manager() function, so let's |