1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-27 09:01:50 +03:00

Renamed invalid to undefined. More utility functions.

This commit is contained in:
Teemu Ollakka
2018-06-21 16:50:44 +03:00
parent 81ac78913a
commit 8f0e112c47
9 changed files with 48 additions and 9 deletions

View File

@ -26,7 +26,7 @@ wsrep::transaction::transaction(
: server_service_(client_state.server_state().server_service())
, client_service_(client_state.client_service())
, client_state_(client_state)
, id_(transaction_id::invalid())
, id_(transaction_id::undefined())
, state_(s_executing)
, state_hist_()
, bf_abort_state_(s_executing)
@ -952,7 +952,7 @@ void wsrep::transaction::cleanup()
assert(is_streaming() == false);
assert(state() == s_committed || state() == s_aborted);
debug_log_state("cleanup_enter");
id_ = wsrep::transaction_id::invalid();
id_ = wsrep::transaction_id::undefined();
ws_handle_ = wsrep::ws_handle();
// Keep the state history for troubleshooting. Reset at start_transaction().
// state_hist_.clear();