mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
After 5.1.6 just turn on logging, it will be sent to tables by default
This commit is contained in:
@ -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 ($$$$$) {
|
|||||||
# 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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user