1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-11 06:21:48 +03:00

Pass ws_handle as const reference to provider replay()

This commit is contained in:
Teemu Ollakka
2018-06-19 09:36:15 +03:00
parent d1a1e298e9
commit 0e4c7f16a9
7 changed files with 9 additions and 10 deletions

View File

@ -268,7 +268,7 @@ namespace wsrep
* @return Zero in case of success, non-zero on failure.
*/
virtual enum status replay(
wsrep::ws_handle& ws_handle, void* applier_ctx) = 0;
const wsrep::ws_handle& ws_handle, void* applier_ctx) = 0;
virtual int sst_sent(const wsrep::gtid&, int) = 0;
virtual int sst_received(const wsrep::gtid&, int) = 0;