Commit 7d421359 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-16485 Insert rows unable to execute correctly on slave's System-Versioned Tables

RBR not versioned -> versioned

do it for all write_row events, not only for WRITE_ROWS_EVENT_V1
parent 65f7473c
......@@ -13155,8 +13155,7 @@ Rows_log_event::write_row(rpl_group_info *rgi,
}
// Handle INSERT.
// Set vers fields when replicating from not system-versioned table.
if (m_type == WRITE_ROWS_EVENT_V1 && table->versioned(VERS_TIMESTAMP))
if (table->versioned(VERS_TIMESTAMP))
{
ulong sec_part;
bitmap_set_bit(table->read_set, table->vers_start_field()->field_index);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment