1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

[MDEV-6877] Change replication event loop to account for empty events

When writing rows with a minimal row image, it is possible to receive
empty events. In that case m_curr_row and m_rows_end are the same,
however the event implies an insert into the table with the default
values associated for that table.
This commit is contained in:
Vicențiu Ciorbaru
2015-05-29 17:19:53 +03:00
parent 50955075bb
commit d817267ae6
6 changed files with 31 additions and 14 deletions

View File

@ -2132,7 +2132,7 @@ public:
const uchar *buf);
int binlog_update_row(TABLE* table, bool is_transactional,
const uchar *old_data, const uchar *new_data);
void binlog_prepare_row_images(TABLE* table);
static void binlog_prepare_row_images(TABLE* table);
void set_server_id(uint32 sid) { variables.server_id = sid; }