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
4930a27d
Commit
4930a27d
authored
Dec 13, 2007
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only skip restart(and use dynamic binlog switch) if the next test has 'binlog_format_switch' set
parent
864989d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-4
No files found.
mysql-test/mysql-test-run.pl
View file @
4930a27d
...
...
@@ -2818,16 +2818,15 @@ sub server_need_restart {
!
mtr_same_opts
(
$started_opts
,
$extra_opt
)
)
{
# Check if diff is binlog format only
# and the next test has $binlog_format_switch set
my
@diff_opts
=
mtr_diff_opts
(
$started_opts
,
$extra_opt
);
if
(
@diff_opts
==
2
and
$diff_opts
[
0
]
=~
/^--binlog-format=/
and
$diff_opts
[
1
]
=~
/^--binlog-format=/
)
$diff_opts
[
1
]
=~
/^--binlog-format=/
and
defined
$tinfo
->
{
binlog_format_switch
})
{
mtr_verbose
("
Using dynamic switch of binlog format from
",
$diff_opts
[
0
],"
to
",
$diff_opts
[
1
]);
die
"
Binlog format to switch to is not set
"
unless
defined
$tinfo
->
{
binlog_format_switch
};
}
else
{
...
...
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