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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
62ee3132
Commit
62ee3132
authored
Jul 16, 2008
by
Sven Sandberg
Browse files
Options
Browse Files
Download
Plain Diff
automerge.
parents
e14d0f10
ed8a08ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
mysql-test/suite/rpl/r/rpl_rbr_to_sbr.result
mysql-test/suite/rpl/r/rpl_rbr_to_sbr.result
+2
-1
mysql-test/suite/rpl/t/rpl_rbr_to_sbr.test
mysql-test/suite/rpl/t/rpl_rbr_to_sbr.test
+3
-0
No files found.
mysql-test/suite/rpl/r/rpl_rbr_to_sbr.result
View file @
62ee3132
...
@@ -4,6 +4,7 @@ reset master;
...
@@ -4,6 +4,7 @@ reset master;
reset slave;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
start slave;
SET @old_binlog_format= @@global.binlog_format;
SET BINLOG_FORMAT=MIXED;
SET BINLOG_FORMAT=MIXED;
SET GLOBAL BINLOG_FORMAT=MIXED;
SET GLOBAL BINLOG_FORMAT=MIXED;
SELECT @@GLOBAL.BINLOG_FORMAT, @@SESSION.BINLOG_FORMAT;
SELECT @@GLOBAL.BINLOG_FORMAT, @@SESSION.BINLOG_FORMAT;
...
@@ -65,7 +66,6 @@ Last_SQL_Error
...
@@ -65,7 +66,6 @@ Last_SQL_Error
SHOW BINLOG EVENTS;
SHOW BINLOG EVENTS;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
slave-bin.000001 # Format_desc 2 # Server ver: VERSION, Binlog ver: 4
slave-bin.000001 # Format_desc 2 # Server ver: VERSION, Binlog ver: 4
slave-bin.000001 # Query 2 # use `test`; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9
slave-bin.000001 # Query 1 # use `test`; CREATE TABLE t1 (a INT, b LONG)
slave-bin.000001 # Query 1 # use `test`; CREATE TABLE t1 (a INT, b LONG)
slave-bin.000001 # Query 1 # use `test`; INSERT INTO t1 VALUES (1,1), (2,2)
slave-bin.000001 # Query 1 # use `test`; INSERT INTO t1 VALUES (1,1), (2,2)
slave-bin.000001 # Query 1 # use `test`; BEGIN
slave-bin.000001 # Query 1 # use `test`; BEGIN
...
@@ -73,3 +73,4 @@ slave-bin.000001 # Table_map 1 # table_id: # (test.t1)
...
@@ -73,3 +73,4 @@ slave-bin.000001 # Table_map 1 # table_id: # (test.t1)
slave-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
slave-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
slave-bin.000001 # Query 1 # use `test`; COMMIT
slave-bin.000001 # Query 1 # use `test`; COMMIT
DROP TABLE IF EXISTS t1;
DROP TABLE IF EXISTS t1;
SET @@global.binlog_format= @old_binlog_format;
mysql-test/suite/rpl/t/rpl_rbr_to_sbr.test
View file @
62ee3132
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
# Test that the slave temporarily switches to ROW when seeing binrow
# Test that the slave temporarily switches to ROW when seeing binrow
# events when it is in STATEMENT or MIXED mode
# events when it is in STATEMENT or MIXED mode
SET
@
old_binlog_format
=
@@
global
.
binlog_format
;
SET
BINLOG_FORMAT
=
MIXED
;
SET
BINLOG_FORMAT
=
MIXED
;
SET
GLOBAL
BINLOG_FORMAT
=
MIXED
;
SET
GLOBAL
BINLOG_FORMAT
=
MIXED
;
SELECT
@@
GLOBAL
.
BINLOG_FORMAT
,
@@
SESSION
.
BINLOG_FORMAT
;
SELECT
@@
GLOBAL
.
BINLOG_FORMAT
,
@@
SESSION
.
BINLOG_FORMAT
;
...
@@ -33,6 +35,7 @@ SHOW BINLOG EVENTS;
...
@@ -33,6 +35,7 @@ SHOW BINLOG EVENTS;
connection
master
;
connection
master
;
DROP
TABLE
IF
EXISTS
t1
;
DROP
TABLE
IF
EXISTS
t1
;
SET
@@
global
.
binlog_format
=
@
old_binlog_format
;
# Let's compare. Note: If they match test will pass, if they do not match
# Let's compare. Note: If they match test will pass, if they do not match
# the test will show that the diff statement failed and not reject file
# the test will show that the diff statement failed and not reject file
...
...
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