summaryrefslogtreecommitdiff
path: root/server-tools/instance-manager/mysqlmanager.cc
diff options
context:
space:
mode:
authorkostja@bodhi.local <>2006-11-16 23:36:20 +0300
committerkostja@bodhi.local <>2006-11-16 23:36:20 +0300
commit2f69dfb28fdd3a98137ac16b7280bd86c9345d78 (patch)
treedfe03cc1d016a01134a977925be735650f8f32ee /server-tools/instance-manager/mysqlmanager.cc
parente8d51e62bb901c713aa6a5dbfafdc30004b2816b (diff)
downloadmariadb-git-2f69dfb28fdd3a98137ac16b7280bd86c9345d78.tar.gz
Cleanup: manually port the polishing parts from Alik's changeset for
BUG#22306: STOP INSTANCE can not be applied for instances in Crashed, Failed and Abandoned
Diffstat (limited to 'server-tools/instance-manager/mysqlmanager.cc')
-rw-r--r--server-tools/instance-manager/mysqlmanager.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/server-tools/instance-manager/mysqlmanager.cc b/server-tools/instance-manager/mysqlmanager.cc
index 177b761b419..475c7a3ab9f 100644
--- a/server-tools/instance-manager/mysqlmanager.cc
+++ b/server-tools/instance-manager/mysqlmanager.cc
@@ -31,6 +31,7 @@
#include "log.h"
#include "manager.h"
#include "options.h"
+#include "priv.h"
#include "user_management_commands.h"
#ifdef __WIN__
@@ -117,7 +118,7 @@ int main(int argc, char *argv[])
angel();
}
- manager();
+ (void) Manager::main(); /* ignore the return value for now */
#else
@@ -131,7 +132,7 @@ int main(int argc, char *argv[])
}
else
{
- manager();
+ (void) Manager::main(); /* ignore the return value for now */
}
#endif
@@ -384,8 +385,8 @@ spawn:
}
/*
mysqlmanager successfully exited, let's silently evaporate
- If we return to main we fall into the manager() function, so let's
- simply exit().
+ If we return to main we will fall into the manager functionality,
+ so let's simply exit().
*/
exit(0);
}