-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup: move rbr-only test to rpl_row.test
- Loading branch information
Showing
4 changed files
with
32 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |