diff options
author | unknown <kostja@bodhi.local> | 2006-10-23 20:08:00 +0400 |
---|---|---|
committer | unknown <kostja@bodhi.local> | 2006-10-23 20:08:00 +0400 |
commit | 66b872805cbd542c6012eef7141443d95a697f7d (patch) | |
tree | a571e7060493ccd6b99fe59ef9ac525431b8f8c5 /server-tools/instance-manager/guardian.cc | |
parent | d946b64dcecc083e4df52776dff0e6bd139ba785 (diff) | |
download | mariadb-git-66b872805cbd542c6012eef7141443d95a697f7d.tar.gz |
Post-merge fixes.
mysql-test/r/sp.result:
Update results.
mysql-test/r/view.result:
Update results.
server-tools/instance-manager/guardian.cc:
Post-merge fixes (instance_name is a LEX_STRING).
server-tools/instance-manager/instance.cc:
Post-merge fixes (instance_name is a LEX_STRING).
Diffstat (limited to 'server-tools/instance-manager/guardian.cc')
-rw-r--r-- | server-tools/instance-manager/guardian.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server-tools/instance-manager/guardian.cc b/server-tools/instance-manager/guardian.cc index 9fc3a6583ef..af57f1decbc 100644 --- a/server-tools/instance-manager/guardian.cc +++ b/server-tools/instance-manager/guardian.cc @@ -158,7 +158,7 @@ void Guardian_thread::process_instance(Instance *instance, { /* clear status fields */ log_info("guardian: instance '%s' is running, set state to STARTED.", - (const char *) instance->options.instance_name); + (const char *) instance->options.instance_name.str); current_node->restart_counter= 0; current_node->crash_moment= 0; current_node->state= STARTED; @@ -169,7 +169,7 @@ void Guardian_thread::process_instance(Instance *instance, switch (current_node->state) { case NOT_STARTED: log_info("guardian: starting instance '%s'...", - (const char *) instance->options.instance_name); + (const char *) instance->options.instance_name.str); /* NOTE, set state to STARTING _before_ start() is called */ current_node->state= STARTING; @@ -194,7 +194,7 @@ void Guardian_thread::process_instance(Instance *instance, { instance->start(); log_info("guardian: starting instance '%s'...", - (const char *) instance->options.instance_name); + (const char *) instance->options.instance_name.str); } } else @@ -212,13 +212,13 @@ void Guardian_thread::process_instance(Instance *instance, current_node->last_checked= current_time; current_node->restart_counter++; log_info("guardian: restarting instance '%s'...", - (const char *) instance->options.instance_name); + (const char *) instance->options.instance_name.str); } } else { log_info("guardian: cannot start instance %s. Abandoning attempts " - "to (re)start it", instance->options.instance_name); + "to (re)start it", instance->options.instance_name.str); current_node->state= CRASHED_AND_ABANDONED; } } |