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
1f780b77
Commit
1f780b77
authored
Oct 24, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapt mysql-test-run.pl to mysqld in 5.1 using "mixed" binlog format by default
parent
ac5b37ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+1
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+8
-0
No files found.
mysql-test/lib/mtr_cases.pl
View file @
1f780b77
...
@@ -565,6 +565,7 @@ our @tags=
...
@@ -565,6 +565,7 @@ our @tags=
["
include/have_innodb.inc
",
"
innodb_test
",
1
],
["
include/have_innodb.inc
",
"
innodb_test
",
1
],
["
include/have_binlog_format_row.inc
",
"
binlog_format
",
"
row
"],
["
include/have_binlog_format_row.inc
",
"
binlog_format
",
"
row
"],
["
include/have_binlog_format_statement.inc
",
"
binlog_format
",
"
stmt
"],
["
include/have_binlog_format_statement.inc
",
"
binlog_format
",
"
stmt
"],
["
include/have_binlog_format_mixed.inc
",
"
binlog_format
",
"
mixed
"],
["
include/big_test.inc
",
"
big_test
",
1
],
["
include/big_test.inc
",
"
big_test
",
1
],
["
include/have_debug.inc
",
"
need_debug
",
1
],
["
include/have_debug.inc
",
"
need_debug
",
1
],
["
include/have_ndb.inc
",
"
ndb_test
",
1
],
["
include/have_ndb.inc
",
"
ndb_test
",
1
],
...
...
mysql-test/mysql-test-run.pl
View file @
1f780b77
...
@@ -714,12 +714,20 @@ sub command_line_setup () {
...
@@ -714,12 +714,20 @@ sub command_line_setup () {
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# NOTE if the default binlog format is changed, this has to be changed
# NOTE if the default binlog format is changed, this has to be changed
$used_binlog_format
=
"
stmt
";
$used_binlog_format
=
"
stmt
";
if
(
$mysql_version_id
>=
50100
)
{
$used_binlog_format
=
"
mixed
";
}
foreach
my
$arg
(
@opt_extra_mysqld_opt
)
foreach
my
$arg
(
@opt_extra_mysqld_opt
)
{
{
if
(
defined
mtr_match_substring
(
$arg
,"
binlog-format=row
"))
if
(
defined
mtr_match_substring
(
$arg
,"
binlog-format=row
"))
{
{
$used_binlog_format
=
"
row
";
$used_binlog_format
=
"
row
";
}
}
elsif
(
defined
mtr_match_substring
(
$arg
,"
binlog-format=stmt
"))
{
$used_binlog_format
=
"
stmt
";
}
}
}
mtr_report
("
Using binlog format '
$used_binlog_format
'
");
mtr_report
("
Using binlog format '
$used_binlog_format
'
");
...
...
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