MXS-2184: Fix avrorouter GTID generation
The event number in the GTID was not incremented for the update_after part of the transaction.
This commit is contained in:
@ -652,6 +652,7 @@ bool Rpl::handle_row_event(REP_HEADER* hdr, uint8_t* ptr)
|
|||||||
* a different type */
|
* a different type */
|
||||||
if (event_type == UPDATE_EVENT)
|
if (event_type == UPDATE_EVENT)
|
||||||
{
|
{
|
||||||
|
m_gtid.event_num++;
|
||||||
m_handler->prepare_row(m_gtid, *hdr, UPDATE_EVENT_AFTER);
|
m_handler->prepare_row(m_gtid, *hdr, UPDATE_EVENT_AFTER);
|
||||||
ptr = process_row_event_data(map, create->second, m_handler, ptr, col_present, end);
|
ptr = process_row_event_data(map, create->second, m_handler, ptr, col_present, end);
|
||||||
m_handler->commit(m_gtid);
|
m_handler->commit(m_gtid);
|
||||||
|
Reference in New Issue
Block a user