mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Operation context pointer for client state
This commit is contained in:
@ -764,6 +764,17 @@ int wsrep::client_state::sync_wait(int timeout)
|
||||
return ret;
|
||||
}
|
||||
|
||||
void wsrep::client_state::set_operation_context(
|
||||
wsrep::operation_context* context)
|
||||
{
|
||||
current_context_ = context;
|
||||
}
|
||||
|
||||
wsrep::operation_context* wsrep::client_state::operation_context()
|
||||
{
|
||||
return current_context_;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Private //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user