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
9ed0e74d
Commit
9ed0e74d
authored
Jun 08, 2007
by
msvensson@pilot.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#28369 rpl test cases fail with binlog disabled
parent
e5b5b8bb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+6
-3
mysql-test/r/binlog.result
mysql-test/r/binlog.result
+2
-2
mysql-test/t/binlog.test
mysql-test/t/binlog.test
+2
-2
No files found.
mysql-test/lib/mtr_cases.pl
View file @
9ed0e74d
...
...
@@ -607,9 +607,12 @@ sub collect_one_test_case($$$$$$$) {
}
else
{
# Test does not need binlog, add --skip-binlog to
# the options used when starting it
push
(
@
{
$tinfo
->
{'
master_opt
'}},
"
--skip-log-bin
");
if
(
$::mysql_version_id
>=
50100
)
{
# Test does not need binlog, add --skip-binlog to
# the options used when starting it
push
(
@
{
$tinfo
->
{'
master_opt
'}},
"
--skip-log-bin
");
}
}
}
...
...
mysql-test/r/binlog.result
View file @
9ed0e74d
...
...
@@ -17,7 +17,7 @@ master-bin.000001 # Query 1 # use `test`; insert t1 values (5)
master-bin.000001 # Query 1 # use `test`; COMMIT
master-bin.000001 # Query 1 # use `test`; BEGIN
master-bin.000001 # Query 1 # use `test`; insert t2 values (5)
master-bin.000001 # Xid 1 # COMMIT /* xid=1
2
*/
master-bin.000001 # Xid 1 # COMMIT /* xid=1
3
*/
drop table t1,t2;
reset master;
create table t1 (n int) engine=innodb;
...
...
@@ -128,7 +128,7 @@ master-bin.000001 # Query 1 # use `test`; insert into t1 values(4 + 4)
master-bin.000001 # Query 1 # use `test`; insert into t1 values(3 + 4)
master-bin.000001 # Query 1 # use `test`; insert into t1 values(2 + 4)
master-bin.000001 # Query 1 # use `test`; insert into t1 values(1 + 4)
master-bin.000001 # Xid 1 # COMMIT /* xid=
19
*/
master-bin.000001 # Xid 1 # COMMIT /* xid=
20
*/
master-bin.000001 # Rotate 1 # master-bin.000002;pos=4
show binlog events in 'master-bin.000002' from 98;
Log_name Pos Event_type Server_id End_log_pos Info
...
...
mysql-test/t/binlog.test
View file @
9ed0e74d
...
...
@@ -20,7 +20,7 @@ begin;
insert
t2
values
(
5
);
commit
;
# first COMMIT must be Query_log_event, second - Xid_log_event
--
replace_result
"xid=2
1"
"xid=12
"
--
replace_result
"xid=2
2"
"xid=13
"
--
replace_column
2
# 5 #
show
binlog
events
from
98
;
drop
table
t1
,
t2
;
...
...
@@ -42,7 +42,7 @@ while ($1)
--
enable_query_log
commit
;
drop
table
t1
;
--
replace_result
"xid=3
2"
"xid=19
"
--
replace_result
"xid=3
3"
"xid=20
"
--
replace_column
2
# 5 #
show
binlog
events
in
'master-bin.000001'
from
98
;
--
replace_column
2
# 5 #
...
...
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