Commit 141a36c3 authored by unknown's avatar unknown

Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0

into  mysql.com:/home/cps/mysql/trees/mysql-5.0

parents e39656fb 933db613
This diff is collapsed.
...@@ -41,7 +41,8 @@ public: ...@@ -41,7 +41,8 @@ public:
/* send a signal to the instance */ /* send a signal to the instance */
void kill_instance(int signo); void kill_instance(int signo);
int is_crashed(); int is_crashed();
void fork_and_monitor(); void set_crash_flag_n_wake_all();
Instance_map *Instance::get_map();
public: public:
enum { DEFAULT_SHUTDOWN_DELAY= 35 }; enum { DEFAULT_SHUTDOWN_DELAY= 35 };
...@@ -63,7 +64,6 @@ private: ...@@ -63,7 +64,6 @@ private:
Instance_map *instance_map; Instance_map *instance_map;
void remove_pid(); void remove_pid();
int launch_and_wait();
}; };
#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_INSTANCE_H */ #endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_INSTANCE_H */
...@@ -130,6 +130,8 @@ int Instance_options::fill_instance_version() ...@@ -130,6 +130,8 @@ int Instance_options::fill_instance_version()
version_option, sizeof(version_option))) version_option, sizeof(version_option)))
goto err; goto err;
bzero(result, MAX_VERSION_STRING_LENGTH);
rc= parse_output_and_get_value(cmd.buffer, mysqld_path, rc= parse_output_and_get_value(cmd.buffer, mysqld_path,
result, MAX_VERSION_STRING_LENGTH, result, MAX_VERSION_STRING_LENGTH,
GET_LINE); GET_LINE);
......
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