diff options
author | msvensson@neptunus.(none) <> | 2006-04-26 12:45:22 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-04-26 12:45:22 +0200 |
commit | a0a8a711d6e52ee3d1bc9e72487e2e04f7e825dc (patch) | |
tree | 097d4e5e02ce977b780aaa6de3608007abe6ac4a /server-tools/instance-manager/instance_options.h | |
parent | 2c3a3bd87f9679851ef2fa65c3a675d58605145f (diff) | |
download | mariadb-git-a0a8a711d6e52ee3d1bc9e72487e2e04f7e825dc.tar.gz |
Bug#19362 im_daemon_lifecycle fails when built from source distribution
- Add function "mysqld_real_path" which is needed if the mysqld_path is a symlink or a script(like libtool) that executes the real mysqld.
- Add new variable mysqld_real_path
- Use mysqld_real_path from fill_instance_version
Diffstat (limited to 'server-tools/instance-manager/instance_options.h')
-rw-r--r-- | server-tools/instance-manager/instance_options.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server-tools/instance-manager/instance_options.h b/server-tools/instance-manager/instance_options.h index dae1c2695d1..b316dbf00fc 100644 --- a/server-tools/instance-manager/instance_options.h +++ b/server-tools/instance-manager/instance_options.h @@ -44,7 +44,8 @@ public: Instance_options() : mysqld_version(0), mysqld_socket(0), mysqld_datadir(0), mysqld_bind_address(0), mysqld_pid_file(0), mysqld_port(0), - mysqld_port_val(0), mysqld_path(0), nonguarded(0), shutdown_delay(0), + mysqld_port_val(0), mysqld_path(0), mysqld_real_path(0), + nonguarded(0), shutdown_delay(0), shutdown_delay_val(0), filled_default_options(0) {} ~Instance_options(); @@ -84,6 +85,7 @@ public: uint instance_name_len; const char *mysqld_path; uint mysqld_path_len; + const char *mysqld_real_path; const char *nonguarded; const char *shutdown_delay; uint shutdown_delay_val; @@ -95,6 +97,7 @@ public: private: int fill_log_options(); int fill_instance_version(); + int fill_mysqld_real_path(); int add_to_argv(const char *option); int get_default_option(char *result, size_t result_len, const char *option_name); |