mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-06-13 04:01:32 +03:00
Pass ws_handle as const reference to provider replay()
This commit is contained in:
@ -38,8 +38,7 @@ enum wsrep::provider::status
|
||||
db::client_service::replay()
|
||||
{
|
||||
wsrep::high_priority_context high_priority_context(client_state_);
|
||||
auto ret(provider_.replay(const_cast<wsrep::ws_handle&>(
|
||||
client_state_.transaction().ws_handle()),
|
||||
auto ret(provider_.replay(client_state_.transaction().ws_handle(),
|
||||
&client_state_));
|
||||
if (ret == wsrep::provider::success)
|
||||
{
|
||||
|
Reference in New Issue
Block a user