mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merging with mysql-5.1-bugteam
This commit is contained in:
15
mysql-test/suite/rpl/r/rpl_typeconv_innodb.result
Normal file
15
mysql-test/suite/rpl/r/rpl_typeconv_innodb.result
Normal file
@ -0,0 +1,15 @@
|
||||
stop slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
reset master;
|
||||
reset slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
start slave;
|
||||
**** Resetting master and slave ****
|
||||
include/stop_slave.inc
|
||||
RESET SLAVE;
|
||||
RESET MASTER;
|
||||
include/start_slave.inc
|
||||
CREATE TABLE t1(b1 BIT(1), b2 BIT(2), b3 BIT(3)) ENGINE=InnoDB;
|
||||
INSERT INTO t1 VALUES (b'0', b'01', b'101');
|
||||
Comparing tables master:test.t1 and slave:test.t1
|
||||
DROP TABLE t1;
|
1
mysql-test/suite/rpl/t/rpl_typeconv-slave.opt
Normal file
1
mysql-test/suite/rpl/t/rpl_typeconv-slave.opt
Normal file
@ -0,0 +1 @@
|
||||
--innodb
|
22
mysql-test/suite/rpl/t/rpl_typeconv_innodb.test
Normal file
22
mysql-test/suite/rpl/t/rpl_typeconv_innodb.test
Normal file
@ -0,0 +1,22 @@
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
#
|
||||
# BUG#49618: Field length stored incorrectly in binary log for InnoDB
|
||||
#
|
||||
|
||||
source include/reset_master_and_slave.inc;
|
||||
|
||||
connection master;
|
||||
CREATE TABLE t1(b1 BIT(1), b2 BIT(2), b3 BIT(3)) ENGINE=InnoDB;
|
||||
INSERT INTO t1 VALUES (b'0', b'01', b'101');
|
||||
sync_slave_with_master;
|
||||
|
||||
let $diff_table_1=master:test.t1;
|
||||
let $diff_table_2=slave:test.t1;
|
||||
source include/diff_tables.inc;
|
||||
|
||||
connection master;
|
||||
DROP TABLE t1;
|
||||
sync_slave_with_master;
|
Reference in New Issue
Block a user