mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-20 01:03:16 +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));
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ namespace wsrep
|
||||
int commit_order_leave(const wsrep::ws_handle&,
|
||||
const wsrep::ws_meta&);
|
||||
int release(wsrep::ws_handle&);
|
||||
enum wsrep::provider::status replay(wsrep::ws_handle&, void*);
|
||||
enum wsrep::provider::status replay(const wsrep::ws_handle&, void*);
|
||||
int sst_sent(const wsrep::gtid&,int);
|
||||
int sst_received(const wsrep::gtid& gtid, int);
|
||||
|
||||
|
Reference in New Issue
Block a user