mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-02 05:22:26 +03:00
Pass ws_handle as const reference to provider replay()
This commit is contained in:
@ -600,10 +600,10 @@ int wsrep::wsrep_provider_v26::release(wsrep::ws_handle& ws_handle)
|
||||
}
|
||||
|
||||
enum wsrep::provider::status
|
||||
wsrep::wsrep_provider_v26::replay(wsrep::ws_handle& ws_handle,
|
||||
wsrep::wsrep_provider_v26::replay(const wsrep::ws_handle& ws_handle,
|
||||
void* applier_ctx)
|
||||
{
|
||||
mutable_ws_handle mwsh(ws_handle);
|
||||
const_ws_handle mwsh(ws_handle);
|
||||
return map_return_value(
|
||||
wsrep_->replay_trx(wsrep_, mwsh.native(), applier_ctx));
|
||||
}
|
||||
|
Reference in New Issue
Block a user