Commit 6e4dc35a authored by unknown's avatar unknown

After 5.1.6 just turn on logging, it will be sent to tables by default

parent 08ff137e
...@@ -3474,6 +3474,11 @@ sub mysqld_arguments ($$$$$) { ...@@ -3474,6 +3474,11 @@ sub mysqld_arguments ($$$$$) {
# Force mysqld to use log files up until 5.1.6 # Force mysqld to use log files up until 5.1.6
mtr_add_arg($args, "%s--log=%s", $prefix, $master->[0]->{'path_mylog'}); mtr_add_arg($args, "%s--log=%s", $prefix, $master->[0]->{'path_mylog'});
} }
else
{
# Turn on logging, will be sent to tables
mtr_add_arg($args, "%s--log=", $prefix);
}
} }
if ( $type eq 'slave' ) if ( $type eq 'slave' )
...@@ -3557,6 +3562,11 @@ sub mysqld_arguments ($$$$$) { ...@@ -3557,6 +3562,11 @@ sub mysqld_arguments ($$$$$) {
# Force mysqld to use log files up until 5.1.6 # Force mysqld to use log files up until 5.1.6
mtr_add_arg($args, "%s--log=%s", $prefix, $master->[0]->{'path_mylog'}); mtr_add_arg($args, "%s--log=%s", $prefix, $master->[0]->{'path_mylog'});
} }
else
{
# Turn on logging, will be sent to tables
mtr_add_arg($args, "%s--log=", $prefix);
}
} # end slave } # end slave
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment