diff options
Diffstat (limited to 'sql/log_event.cc')
| -rw-r--r-- | sql/log_event.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc index 0ba44c5d35b..406b14cc2a9 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -8401,6 +8401,11 @@ int Xid_log_event::do_apply_event(rpl_group_info *rgi) Record any GTID in the same transaction, so slave state is transactionally consistent. */ +#ifdef WITH_WSREP + /*Set wsrep_affected_rows = 0 */ + thd->wsrep_affected_rows= 0; +#endif + if (rgi->gtid_pending) { sub_id= rgi->gtid_sub_id; |
