cleanup: move rbr-only test to rpl_row.test

This commit is contained in:
Sergei Golubchik 2019-03-27 16:35:19 +01:00
parent 39d7e5969b
commit a82cfe109c
4 changed files with 32 additions and 30 deletions

View File

@ -164,17 +164,4 @@ update t1 set i = 0;
connection slave;
connection master;
drop table t1;
# MDEV-16252: MINIMAL binlog_row_image does not work for versioned tables
set @old_row_image= @@binlog_row_image;
set binlog_row_image= minimal;
create or replace table t1 (pk int, i int, primary key(pk))
with system versioning;
insert into t1 values (1,10),(2,20);
update t1 set i = 0;
connection slave;
connection master;
drop table t1;
set binlog_row_image= @old_row_image;
drop database test;
create database test;
include/rpl_end.inc

View File

@ -0,0 +1,14 @@
include/master-slave.inc
[connection master]
# MDEV-16252: MINIMAL binlog_row_image does not work for versioned tables
set @old_row_image= @@binlog_row_image;
set binlog_row_image= minimal;
create or replace table t1 (pk int, i int, primary key(pk))
with system versioning;
insert into t1 values (1,10),(2,20);
update t1 set i = 0;
connection slave;
connection master;
drop table t1;
set binlog_row_image= @old_row_image;
include/rpl_end.inc

View File

@ -133,21 +133,4 @@ sync_slave_with_master;
connection master;
drop table t1;
--echo # MDEV-16252: MINIMAL binlog_row_image does not work for versioned tables
set @old_row_image= @@binlog_row_image;
set binlog_row_image= minimal;
create or replace table t1 (pk int, i int, primary key(pk))
with system versioning;
insert into t1 values (1,10),(2,20);
update t1 set i = 0;
--sync_slave_with_master
--connection master
drop table t1;
set binlog_row_image= @old_row_image;
drop database test;
create database test;
--source include/rpl_end.inc

View File

@ -0,0 +1,18 @@
--source include/have_binlog_format_row.inc
--source include/master-slave.inc
--echo # MDEV-16252: MINIMAL binlog_row_image does not work for versioned tables
set @old_row_image= @@binlog_row_image;
set binlog_row_image= minimal;
create or replace table t1 (pk int, i int, primary key(pk))
with system versioning;
insert into t1 values (1,10),(2,20);
update t1 set i = 0;
--sync_slave_with_master
--connection master
drop table t1;
set binlog_row_image= @old_row_image;
--source include/rpl_end.inc