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:

parent
3b5897e5e9
commit
c63ad3b549
@ -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)
|
||||
|
Reference in New Issue
Block a user