mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 17:14:30 +02:00
WL#3259 (RBR with more columns on slave than on master):
Extended replication to allow extra columns added last on slave as compared with table on master. mysql-test/extra/rpl_tests/rpl_row_tabledefs.test: Testing that replication can handle extra extra columns on slave. mysql-test/r/rpl_row_tabledefs.result: Result file change sql/Makefile.am: Adding new files. sql/field.cc: Implementing missing Field_bit::set_default() sql/field.h: Implementing missing Field_bit::set_default() sql/log_event.cc: Extending unpack_row() and replace_record() to handle the case when there are more columns on the slave than on the master. Especially handle BIT columns correctly. Using newly introduced table_def class to perform comparison. sql/log_event.h: Adding field to table_map_log_event. Changing prototype for do_prepare_row(). sql/mysql_priv.h: Adding include guards mysql-test/t/rpl_row_tabledefs.test: New BitKeeper file ``mysql-test/t/rpl_row_tabledefs.test'' sql/rpl_utility.cc: New BitKeeper file ``sql/rpl_utility.cc'' sql/rpl_utility.h: New BitKeeper file ``sql/rpl_utility.h''
This commit is contained in:
parent
cbdc730ae5
commit
12443de1b2
11 changed files with 587 additions and 231 deletions
8
mysql-test/t/rpl_row_tabledefs.test
Normal file
8
mysql-test/t/rpl_row_tabledefs.test
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
-- source include/have_binlog_format_row.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
let $engine_type = 'MyISAM';
|
||||
-- source extra/rpl_tests/rpl_row_tabledefs.test
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue