1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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.
This commit is contained in:
jani@a193-229-222-105.elisa-laajakaista.fi
2005-05-18 20:10:17 +03:00
parent 3b5897e5e9
commit c63ad3b549
10 changed files with 180 additions and 146 deletions

View File

@ -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)