diff options
author | Daniele Sciascia <daniele.sciascia@galeracluster.com> | 2016-05-05 13:20:32 +0200 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-07-25 11:24:23 -0400 |
commit | 5197fcf6b4611a26b3847d1101f1a4fb6d17570a (patch) | |
tree | 7fa1eb57f7acac2e2adaef9f1b3fff06c3355aa8 /sql/wsrep_hton.cc | |
parent | e373f60fd161eaf050eb117c9a05d8d83fe0e501 (diff) | |
download | mariadb-git-5197fcf6b4611a26b3847d1101f1a4fb6d17570a.tar.gz |
MW-269 Fix outstanding issues with wsrep_max_ws_rows
This patch includes two fixes:
1) Rollback when wsrep_max_ws_rows is exceeded would not switch
back to previous autocommit mode; and 2) Internal rows counter
would not be reset on implicit commits.
Diffstat (limited to 'sql/wsrep_hton.cc')
-rw-r--r-- | sql/wsrep_hton.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/wsrep_hton.cc b/sql/wsrep_hton.cc index e5ff462eb19..e1bf63cd31f 100644 --- a/sql/wsrep_hton.cc +++ b/sql/wsrep_hton.cc @@ -42,6 +42,7 @@ void wsrep_cleanup_transaction(THD *thd) thd->wsrep_trx_meta.gtid= WSREP_GTID_UNDEFINED; thd->wsrep_trx_meta.depends_on= WSREP_SEQNO_UNDEFINED; thd->wsrep_exec_mode= LOCAL_STATE; + thd->wsrep_affected_rows= 0; return; } |