mirror of
https://github.com/MariaDB/server.git
synced 2025-11-15 09:02:33 +03:00
Slave starts accepting and handling rows of master's tables which have more columns. The most important part of implementation is how to caclulate the amount of bytes to skip for unknown by slave column. To solve that issue this WL adopts results of WL#3228 which introduces an addon to table_map event that carries the necessary part of information about sizes of data of columns. mysql-test/extra/rpl_tests/rpl_extraMaster_Col.test@stripped, 2007-07-26 21:31:54-04:00, cbell@mysql_cab_desk. +393 -0 WL#3915 master's cols > slave basic tests checking altering and skipping extra fields by slave. The fields can be of any possible types.
16 lines
443 B
Plaintext
16 lines
443 B
Plaintext
#############################################################
|
|
# Purpose: To test having extra columns on the master WL#3915
|
|
#############################################################
|
|
-- source include/master-slave.inc
|
|
-- source include/have_innodb.inc
|
|
|
|
let $engine_type = 'InnoDB';
|
|
|
|
set binlog_format=row;
|
|
-- source extra/rpl_tests/rpl_extraMaster_Col.test
|
|
|
|
set binlog_format=statement;
|
|
-- source extra/rpl_tests/rpl_extraMaster_Col.test
|
|
|
|
|