mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
Merge pilot.mysql.com:/home/msvensson/mysql/bug24805/my50-bug24805
into pilot.mysql.com:/home/msvensson/mysql/bug24805/my51-bug24805
This commit is contained in:
commit
3a48e8ee27
3 changed files with 9 additions and 5 deletions
|
@ -3615,13 +3615,14 @@ sub mysqld_arguments ($$$$$) {
|
|||
}
|
||||
}
|
||||
|
||||
my $pidfile;
|
||||
# Check if "extra_opt" contains --skip-log-bin
|
||||
my $skip_binlog= grep('--skip-log-bin', @$extra_opt);
|
||||
|
||||
if ( $type eq 'master' )
|
||||
{
|
||||
my $id= $idx > 0 ? $idx + 101 : 1;
|
||||
|
||||
if (! $opt_skip_master_binlog)
|
||||
if (! ($opt_skip_master_binlog || $skip_binlog) )
|
||||
{
|
||||
mtr_add_arg($args, "%s--log-bin=%s/log/master-bin%s", $prefix,
|
||||
$opt_vardir, $sidx);
|
||||
|
@ -3683,7 +3684,7 @@ sub mysqld_arguments ($$$$$) {
|
|||
mtr_add_arg($args, "%s--datadir=%s", $prefix,
|
||||
$slave->[$idx]->{'path_myddir'});
|
||||
mtr_add_arg($args, "%s--init-rpl-role=slave", $prefix);
|
||||
if (! $opt_skip_slave_binlog)
|
||||
if (! ( $opt_skip_slave_binlog || $skip_binlog ))
|
||||
{
|
||||
mtr_add_arg($args, "%s--log-bin=%s/log/slave%s-bin", $prefix,
|
||||
$opt_vardir, $sidx); # FIXME use own dir for binlogs
|
||||
|
@ -3820,6 +3821,10 @@ sub mysqld_arguments ($$$$$) {
|
|||
{
|
||||
$found_skip_core= 1;
|
||||
}
|
||||
elsif ($skip_binlog and mtr_match_prefix($arg, "--binlog-format"))
|
||||
{
|
||||
; # Dont add --binlog-format when running without binlog
|
||||
}
|
||||
else
|
||||
{
|
||||
mtr_add_arg($args, "%s%s", $prefix, $arg);
|
||||
|
|
|
@ -36,7 +36,6 @@ synchronization : Bug#24529 Test 'synchronization' fails on Mac pushb
|
|||
#ndb_binlog_discover : bug#21806 2006-08-24
|
||||
#ndb_autodiscover3 : bug#21806
|
||||
|
||||
flush2 : Bug#24805 Pushbuild can't handle test with --disable-log-bin
|
||||
mysql_upgrade : Bug#25074 mysql_upgrade gives inconsisten results
|
||||
plugin : Bug#25659 memory leak via "plugins" test
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
--disable-log-bin
|
||||
--skip-log-bin
|
||||
|
|
Loading…
Add table
Reference in a new issue