1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-30 07:23:07 +03:00

Add provider streaming_log capability

This commit is contained in:
Teemu Ollakka
2023-09-18 20:47:13 +03:00
parent 26434e4fc8
commit 3d998f9ad6
2 changed files with 6 additions and 2 deletions

View File

@ -285,11 +285,15 @@ namespace wsrep
static const int streaming = (1 << 15);
static const int snapshot = (1 << 16);
static const int nbo = (1 << 17);
static const int streaming_log = (1 << 18);
/** decipher capability bitmask */
static std::string str(int);
};
bool has_streaming_log() const {
return (capabilities() & capability::streaming_log) != 0;
}
provider(wsrep::server_state& server_state)
: server_state_(server_state)
{ }