mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-16252: MINIMAL binlog_row_image does not work for versioned tables
* mark columns for binlog before inserting history row Closes #822
This commit is contained in:
committed by
Sergei Golubchik
parent
8123d79911
commit
39d7e5969b
@ -133,4 +133,21 @@ 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
|
||||
|
Reference in New Issue
Block a user