mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
[MDEV-6877] Fixed Update_rows_log_event to correctly apply update log events
Update_rows_log_event must make use of the after image bitmap when detecting which columns to update.
This commit is contained in:
@@ -4410,6 +4410,14 @@ protected:
|
||||
int write_row(rpl_group_info *, const bool);
|
||||
|
||||
// Unpack the current row into m_table->record[0]
|
||||
int unpack_current_row(rpl_group_info *rgi, MY_BITMAP const *cols)
|
||||
{
|
||||
DBUG_ASSERT(m_table);
|
||||
|
||||
ASSERT_OR_RETURN_ERROR(m_curr_row < m_rows_end, HA_ERR_CORRUPT_EVENT);
|
||||
return ::unpack_row(rgi, m_table, m_width, m_curr_row, cols,
|
||||
&m_curr_row_end, &m_master_reclength, m_rows_end);
|
||||
}
|
||||
int unpack_current_row(rpl_group_info *rgi)
|
||||
{
|
||||
DBUG_ASSERT(m_table);
|
||||
|
Reference in New Issue
Block a user