~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/suite/engines/funcs/t/rpl_rbr_to_sbr.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
CREATE TABLE t1 (a INT, b LONG);
16
16
INSERT INTO t1 VALUES (1,1), (2,2);
17
17
INSERT INTO t1 VALUES (3,UUID()), (4,UUID());
 
18
let $VERSION=`select version()`;
 
19
--replace_result $VERSION VERSION
 
20
--replace_column 2 # 5 #
 
21
--replace_regex /table_id: [0-9]+/table_id: #/
18
22
# Different number of binlog events are generated by different engines
19
23
--disable_result_log
20
 
source include/show_binlog_events.inc;
 
24
SHOW BINLOG EVENTS;
21
25
--enable_result_log
22
26
sync_slave_with_master;
23
27
--echo **** On Slave ****
24
 
source include/show_binlog_events.inc;
25
 
 
 
28
--replace_result $MASTER_MYPORT MASTER_PORT
 
29
--replace_column 1 # 7 # 8 # 9 # 22 # 23 # 33 #
 
30
--query_vertical SHOW SLAVE STATUS
 
31
--replace_result $VERSION VERSION
 
32
--replace_column 2 # 5 #
 
33
--replace_regex /table_id: [0-9]+/table_id: #/
26
34
# Different number of binlog events are generated by different engines
27
35
--disable_result_log
28
 
source include/show_binlog_events.inc;
 
36
SHOW BINLOG EVENTS;
29
37
--enable_result_log
30
38
--exec $MYSQL_DUMP --compact --order-by-primary --skip-extended-insert --no-create-info test > $MYSQLTEST_VARDIR/tmp/rpl_rbr_to_sbr_master.sql
31
39
--exec $MYSQL_DUMP_SLAVE --compact --order-by-primary --skip-extended-insert --no-create-info test > $MYSQLTEST_VARDIR/tmp/rpl_rbr_to_sbr_slave.sql