Skip to content
Permalink
Browse files
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
  • Loading branch information
vuvova committed Jun 30, 2018
1 parent 65f7473 commit 7d42135
Showing 1 changed file with 1 addition and 2 deletions.
@@ -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);

0 comments on commit 7d42135

Please sign in to comment.