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

WL #2713 Change IM behaviour so, that it only reads and alters one config file only.

Implemented on brian's request.
This commit is contained in:
petr@mysql.com
2005-07-21 14:21:23 +04:00
parent aa2d5ee550
commit b9fcdfbb0f
9 changed files with 108 additions and 35 deletions

View File

@ -65,7 +65,7 @@ public:
int init();
Instance_map(const char *default_mysqld_path_arg,
const char *first_option_arg);
const char *single_defaults_file_option_arg);
~Instance_map();
/* loads options from config files */
@ -77,10 +77,10 @@ public:
public:
const char *mysqld_path;
const char *single_defaults_file_option;
Guardian_thread *guardian;
private:
const char *first_option;
enum { START_HASH_SIZE = 16 };
pthread_mutex_t LOCK_instance_map;
HASH hash;