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

Made client_id, transaction_id constructors explicit.

This commit is contained in:
Teemu Ollakka
2018-07-11 15:00:31 +03:00
parent d564a6f154
commit ddc6c6495b
13 changed files with 102 additions and 84 deletions

View File

@ -38,7 +38,7 @@ namespace db
db::server_state& server_state() { return server_state_; }
wsrep::transaction_id next_transaction_id()
{
return (last_transaction_id_.fetch_add(1) + 1);
return wsrep::transaction_id(last_transaction_id_.fetch_add(1) + 1);
}
void donate_sst(const std::string&, const wsrep::gtid&, bool);
wsrep::client_state* local_client_state();