mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
BUG#22086 : Extra Slave Col: Char(5) on slave and Char(10) on master cause mysqld crash
This patch adds functionality to row-based replication to ensure the slave's column sizes are >= to that of the master. It also includes some refactoring for the code from WL#3228.
This commit is contained in:
@ -2049,7 +2049,6 @@ public:
|
||||
|
||||
virtual int get_data_size() { return m_data_size; }
|
||||
#ifndef MYSQL_CLIENT
|
||||
virtual const int calc_field_metadata_size();
|
||||
virtual int save_field_metadata();
|
||||
virtual bool write_data_header(IO_CACHE *file);
|
||||
virtual bool write_data_body(IO_CACHE *file);
|
||||
@ -2090,7 +2089,7 @@ private:
|
||||
|
||||
uchar *m_field_metadata; // buffer for field metadata
|
||||
/*
|
||||
The size of field metadata buffer set by calling calc_field_metadata_size()
|
||||
The size of field metadata buffer set by calling save_field_metadata()
|
||||
*/
|
||||
ulong m_field_metadata_size;
|
||||
uchar *m_null_bits;
|
||||
|
Reference in New Issue
Block a user