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
540e9427
Commit
540e9427
authored
Mar 14, 2006
by
gbichot@production.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into production.mysql.com:/usersnfs/gbichot/mysql-5.1-new
parents
5e312c15
78930178
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
12 deletions
+18
-12
mysql-test/r/rpl_rbr_to_sbr.result
mysql-test/r/rpl_rbr_to_sbr.result
+11
-11
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+0
-1
mysql-test/t/rpl_rbr_to_sbr.test
mysql-test/t/rpl_rbr_to_sbr.test
+7
-0
No files found.
mysql-test/r/rpl_rbr_to_sbr.result
View file @
540e9427
...
...
@@ -18,11 +18,11 @@ INSERT INTO t1 VALUES (1,1), (2,2);
INSERT INTO t1 VALUES (3,UUID()), (4,UUID());
SHOW BINLOG EVENTS;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001
4 Format_desc 1 102 Server ver: 5.1.8-beta-debug-log
, Binlog ver: 4
master-bin.000001
102 Query 1 196
use `test`; CREATE TABLE t1 (a INT, b LONG)
master-bin.000001
196 Query 1 293
use `test`; INSERT INTO t1 VALUES (1,1), (2,2)
master-bin.000001
293 Table_map 1 333 test.t1
master-bin.000001
333 Write_rows 1 450
master-bin.000001
# Format_desc 1 # Server ver: VERSION
, Binlog ver: 4
master-bin.000001
# Query 1 #
use `test`; CREATE TABLE t1 (a INT, b LONG)
master-bin.000001
# Query 1 #
use `test`; INSERT INTO t1 VALUES (1,1), (2,2)
master-bin.000001
# Table_map 1 # table_id: # (test.t1)
master-bin.000001
# Write_rows 1 # table_id: # flags: STMT_END_F
**** On Slave ****
SHOW SLAVE STATUS;
Slave_IO_State #
...
...
@@ -60,10 +60,10 @@ Master_SSL_Key
Seconds_Behind_Master #
SHOW BINLOG EVENTS;
Log_name Pos Event_type Server_id End_log_pos Info
slave-bin.000001
4 Format_desc 2 102 Server ver: 5.1.8-beta-debug-log
, Binlog ver: 4
slave-bin.000001
102 Query 2 212
use `test`; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9
slave-bin.000001
212 Query 1 306
use `test`; CREATE TABLE t1 (a INT, b LONG)
slave-bin.000001
306 Query 1 403
use `test`; INSERT INTO t1 VALUES (1,1), (2,2)
slave-bin.000001
403 Table_map 1 443 test.t1
slave-bin.000001
443 Write_rows 1 560
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`; INSERT INTO t1 VALUES (1,1), (2,2)
slave-bin.000001
# Table_map 1 # table_id: # (test.t1)
slave-bin.000001
# Write_rows 1 # table_id: # flags: STMT_END_F
DROP TABLE IF EXISTS t1;
mysql-test/t/disabled.def
View file @
540e9427
...
...
@@ -43,5 +43,4 @@ rpl_row_inexist_tbl : Disabled since patch makes this test wait forever
rpl_sp : Bug#16456
rpl_until : Unstable test case, bug#15886
sp-goto : GOTO is currently is disabled - will be fixed in the future
rpl_rbr_to_sbr : BUG#18108
mysqldump : BUG#18078
mysql-test/t/rpl_rbr_to_sbr.test
View file @
540e9427
...
...
@@ -13,12 +13,19 @@ SELECT @@GLOBAL.BINLOG_FORMAT, @@SESSION.BINLOG_FORMAT;
CREATE
TABLE
t1
(
a
INT
,
b
LONG
);
INSERT
INTO
t1
VALUES
(
1
,
1
),
(
2
,
2
);
INSERT
INTO
t1
VALUES
(
3
,
UUID
()),
(
4
,
UUID
());
let
$VERSION
=
`select version()`
;
--
replace_result
$VERSION
VERSION
--
replace_column
2
# 5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/
SHOW
BINLOG
EVENTS
;
sync_slave_with_master
;
--
echo
****
On
Slave
****
--
replace_result
$MASTER_MYPORT
MASTER_PORT
--
replace_column
1
# 8 # 9 # 23 # 33 #
--
query_vertical
SHOW
SLAVE
STATUS
--
replace_result
$VERSION
VERSION
--
replace_column
2
# 5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/
SHOW
BINLOG
EVENTS
;
--
exec
$MYSQL_DUMP
--
compact
--
order
-
by
-
primary
--
skip
-
extended
-
insert
--
no
-
create
-
info
test
>
$MYSQLTEST_VARDIR
/
tmp
/
rpl_rbr_to_sbr_master
.
sql
...
...
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