summaryrefslogtreecommitdiff
path: root/server-tools/instance-manager/instance.cc
diff options
context:
space:
mode:
authorunknown <petr@mysql.com>2005-06-07 15:47:02 +0400
committerunknown <petr@mysql.com>2005-06-07 15:47:02 +0400
commit4a43eccac6915afbe251aa097e1506549e15dab0 (patch)
tree6c3e68bd97165c358c335511049bee834e49d598 /server-tools/instance-manager/instance.cc
parent26f03563f724b1bcab931d1120a56825135ce24c (diff)
downloadmariadb-git-4a43eccac6915afbe251aa097e1506549e15dab0.tar.gz
post-review fixes
server-tools/instance-manager/commands.cc: remove commented out code server-tools/instance-manager/instance.cc: use flag instead of int variable server-tools/instance-manager/instance.h: no more default values server-tools/instance-manager/instance_map.cc: use flag to be more verbose server-tools/instance-manager/instance_options.cc: don't read options when looking for an option, use strmake instead of strchr server-tools/instance-manager/instance_options.h: fix comment, use flag instead of int value server-tools/instance-manager/listener.cc: don't like c++ comments server-tools/instance-manager/log.cc: safety: strmake adds trailing zero to the string server-tools/instance-manager/parse_output.cc: use strmake instead of strncpy, renamed varianles to make code more readable server-tools/instance-manager/parse_output.h: get rid of default value
Diffstat (limited to 'server-tools/instance-manager/instance.cc')
-rw-r--r--server-tools/instance-manager/instance.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-tools/instance-manager/instance.cc b/server-tools/instance-manager/instance.cc
index 615f16f9e22..2b25c74439e 100644
--- a/server-tools/instance-manager/instance.cc
+++ b/server-tools/instance-manager/instance.cc
@@ -326,8 +326,8 @@ int Instance::init(const char *name_arg)
int Instance::complete_initialization(Instance_map *instance_map_arg,
const char *mysqld_path,
- int only_instance)
+ uint instance_type)
{
instance_map= instance_map_arg;
- return options.complete_initialization(mysqld_path, only_instance);
+ return options.complete_initialization(mysqld_path, instance_type);
}