Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
61686e85
Commit
61686e85
authored
Feb 06, 2007
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.mysql.com:/home/msvensson/mysql/bug24805/my50-bug24805
into pilot.mysql.com:/home/msvensson/mysql/mysql-5.0-maint
parents
a4bbd5bf
958308a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+8
-3
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+0
-1
mysql-test/t/flush2-master.opt
mysql-test/t/flush2-master.opt
+1
-1
No files found.
mysql-test/mysql-test-run.pl
View file @
61686e85
...
@@ -3600,13 +3600,14 @@ sub mysqld_arguments ($$$$$) {
...
@@ -3600,13 +3600,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
'
)
if
(
$type
eq
'
master
'
)
{
{
my
$id
=
$idx
>
0
?
$idx
+
101
:
1
;
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
,
mtr_add_arg
(
$args
,
"
%s--log-bin=%s/log/master-bin%s
",
$prefix
,
$opt_vardir
,
$sidx
);
$opt_vardir
,
$sidx
);
...
@@ -3665,7 +3666,7 @@ sub mysqld_arguments ($$$$$) {
...
@@ -3665,7 +3666,7 @@ sub mysqld_arguments ($$$$$) {
mtr_add_arg
(
$args
,
"
%s--datadir=%s
",
$prefix
,
mtr_add_arg
(
$args
,
"
%s--datadir=%s
",
$prefix
,
$slave
->
[
$idx
]
->
{'
path_myddir
'});
$slave
->
[
$idx
]
->
{'
path_myddir
'});
mtr_add_arg
(
$args
,
"
%s--init-rpl-role=slave
",
$prefix
);
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
,
mtr_add_arg
(
$args
,
"
%s--log-bin=%s/log/slave%s-bin
",
$prefix
,
$opt_vardir
,
$sidx
);
# FIXME use own dir for binlogs
$opt_vardir
,
$sidx
);
# FIXME use own dir for binlogs
...
@@ -3802,6 +3803,10 @@ sub mysqld_arguments ($$$$$) {
...
@@ -3802,6 +3803,10 @@ sub mysqld_arguments ($$$$$) {
{
{
$found_skip_core
=
1
;
$found_skip_core
=
1
;
}
}
elsif
(
$skip_binlog
and
mtr_match_prefix
(
$arg
,
"
--binlog-format
"))
{
;
# Dont add --binlog-format when running without binlog
}
else
else
{
{
mtr_add_arg
(
$args
,
"
%s%s
",
$prefix
,
$arg
);
mtr_add_arg
(
$args
,
"
%s%s
",
$prefix
,
$arg
);
...
...
mysql-test/t/disabled.def
View file @
61686e85
...
@@ -13,5 +13,4 @@
...
@@ -13,5 +13,4 @@
im_daemon_life_cycle : Bug#24415 see note: [19 Dec 23:17] Trudy Pelzer
im_daemon_life_cycle : Bug#24415 see note: [19 Dec 23:17] Trudy Pelzer
ndb_load : Bug#17233
ndb_load : Bug#17233
user_limits : Bug#23921 random failure of user_limits.test
user_limits : Bug#23921 random failure of user_limits.test
flush2 : Bug#24805 Pushbuild can't handle test with --disable-log-bin
mysql-test/t/flush2-master.opt
View file @
61686e85
--
disable
-log-bin
--
skip
-log-bin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment