1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-30 07:23:07 +03:00

basic XA unit tests

This commit is contained in:
Leandro Pacheco
2019-02-19 12:18:45 +01:00
committed by Daniele Sciascia
parent e02f617d5f
commit b73df49cff
4 changed files with 164 additions and 7 deletions

View File

@ -62,6 +62,8 @@ namespace wsrep
: wsrep::client_service()
, is_autocommit_()
, do_2pc_()
, is_xa_()
, is_xa_prepare_()
// , fail_next_applying_()
// , fail_next_toi_()
, bf_abort_during_wait_()
@ -131,12 +133,12 @@ namespace wsrep
bool is_xa() const WSREP_OVERRIDE
{
return false;
return is_xa_;
}
bool is_xa_prepare() const WSREP_OVERRIDE
{
return false;
return is_xa_prepare_;
}
size_t bytes_generated() const WSREP_OVERRIDE
@ -190,6 +192,8 @@ namespace wsrep
//
bool is_autocommit_;
bool do_2pc_;
bool is_xa_;
bool is_xa_prepare_;
// bool fail_next_applying_;
// bool fail_next_toi_;
bool bf_abort_during_wait_;