diff options
author | Alexey Yurchenko <alexey.yurchenko@galeracluster.com> | 2019-08-28 07:19:24 +0100 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2019-08-28 09:19:24 +0300 |
commit | 41fa564c88dc86a046d9e0b0a7c0bf4df2944492 (patch) | |
tree | 91713626d72907c4af2f64e63e5c687177a28935 /sql/wsrep_trans_observer.h | |
parent | 53ee9c6cf9ecc7064222a24746cb5e6da3fc1402 (diff) | |
download | mariadb-git-41fa564c88dc86a046d9e0b0a7c0bf4df2944492.tar.gz |
MDEV-17048 Inconsistency voting support (#1373)
* Collect and pass apply error data to provider
* Rollback failed transaction and continue operation if provider returns
SUCCESS
* MTR tests for inconsistency voting
Diffstat (limited to 'sql/wsrep_trans_observer.h')
-rw-r--r-- | sql/wsrep_trans_observer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/wsrep_trans_observer.h b/sql/wsrep_trans_observer.h index 69756786dd2..118525bb908 100644 --- a/sql/wsrep_trans_observer.h +++ b/sql/wsrep_trans_observer.h @@ -292,9 +292,7 @@ static inline int wsrep_before_commit(THD* thd, bool all) Return zero on succes, non-zero on failure. */ -static inline int wsrep_ordered_commit(THD* thd, - bool all, - const wsrep_apply_error&) +static inline int wsrep_ordered_commit(THD* thd, bool all) { DBUG_ENTER("wsrep_ordered_commit"); WSREP_DEBUG("wsrep_ordered_commit: %d", wsrep_is_real(thd, all)); |