File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -6038,9 +6038,6 @@ int handler::ha_update_row(const uchar *old_data, uchar *new_data)
6038
6038
DBUG_ASSERT (new_data == table->record [0 ]);
6039
6039
DBUG_ASSERT (old_data == table->record [1 ]);
6040
6040
6041
- // it is important to keep 'old_data' intact for versioning to work correctly on slave side
6042
- if (table->file ->check_table_binlog_row_based (1 ) && table->versioned ())
6043
- memcpy (table->record [2 ], table->record [1 ], table->s ->reclength );
6044
6041
MYSQL_UPDATE_ROW_START (table_share->db .str , table_share->table_name .str );
6045
6042
mark_trx_read_write ();
6046
6043
increment_statistics (&SSV::ha_update_count);
@@ -6053,11 +6050,7 @@ int handler::ha_update_row(const uchar *old_data, uchar *new_data)
6053
6050
{
6054
6051
rows_changed++;
6055
6052
if (table->file ->check_table_binlog_row_based (1 ))
6056
- {
6057
- if (table->versioned ())
6058
- memcpy (table->record [1 ], table->record [2 ], table->s ->reclength );
6059
6053
error= binlog_log_row (table, old_data, new_data, log_func);
6060
- }
6061
6054
}
6062
6055
return error;
6063
6056
}
You can’t perform that action at this time.
0 commit comments