1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix for BUG#10957 "stop instance, issued after flush instances causes IM to crash"

Recommited with post-review fixes
This commit is contained in:
petr@mysql.com
2005-08-19 17:19:12 +04:00
parent 41c93e368b
commit 5605117d4d
3 changed files with 245 additions and 105 deletions

View File

@ -41,7 +41,8 @@ public:
/* send a signal to the instance */
void kill_instance(int signo);
int is_crashed();
void fork_and_monitor();
void set_crash_flag_n_wake_all();
Instance_map *Instance::get_map();
public:
enum { DEFAULT_SHUTDOWN_DELAY= 35 };
@ -63,7 +64,6 @@ private:
Instance_map *instance_map;
void remove_pid();
int launch_and_wait();
};
#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_INSTANCE_H */