summaryrefslogtreecommitdiff
path: root/server-tools/instance-manager/commands.cc
diff options
context:
space:
mode:
authorjani@a193-229-222-105.elisa-laajakaista.fi <>2005-05-18 20:10:17 +0300
committerjani@a193-229-222-105.elisa-laajakaista.fi <>2005-05-18 20:10:17 +0300
commitc63ad3b549feda55bcd25547f396115f9a668023 (patch)
treee57ae27a7201529c3dae9ffc542a5cae155f4f12 /server-tools/instance-manager/commands.cc
parent3b5897e5e9fed113f4e5d3ddb38817ef29e3907a (diff)
downloadmariadb-git-c63ad3b549feda55bcd25547f396115f9a668023.tar.gz
New file default_modify.c. Fixed a typo on mysqld.cc
Changed name of function my_correct_default_file to modify_defaults_file. Improved function and fixed some bugs in it.
Diffstat (limited to 'server-tools/instance-manager/commands.cc')
-rw-r--r--server-tools/instance-manager/commands.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-tools/instance-manager/commands.cc b/server-tools/instance-manager/commands.cc
index fd346148df2..347f435bbc1 100644
--- a/server-tools/instance-manager/commands.cc
+++ b/server-tools/instance-manager/commands.cc
@@ -689,8 +689,8 @@ int Set_option::correct_file(int skip)
{
int error;
- error= my_correct_defaults_file("/etc/my.cnf", option,
- option_value, instance_name, skip);
+ error= modify_defaults_file("/etc/my.cnf", option,
+ option_value, instance_name, skip);
if (error > 0)
return ER_OUT_OF_RESOURCES;
else if (error < 0)