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:
Markus Mäkelä 2018-11-23 21:59:02 +02:00
parent 842f9f1d15
commit a042ad646b
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -652,6 +652,7 @@ bool Rpl::handle_row_event(REP_HEADER* hdr, uint8_t* ptr)
* a different type */
if (event_type == UPDATE_EVENT)
{
m_gtid.event_num++;
m_handler->prepare_row(m_gtid, *hdr, UPDATE_EVENT_AFTER);
ptr = process_row_event_data(map, create->second, m_handler, ptr, col_present, end);
m_handler->commit(m_gtid);