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

codership/mariadb-wsrep#27 Galera cache encryption fixup

Fixup to enable/disable encryption on provider loading
This commit is contained in:
Alexey Yurchenko
2019-01-20 14:38:07 +02:00
parent 7e9419e811
commit 043e8bc2ea
7 changed files with 15 additions and 10 deletions

View File

@ -384,7 +384,8 @@ namespace wsrep
static provider* make_provider(
wsrep::server_state&,
const std::string& provider_spec,
const std::string& provider_options);
const std::string& provider_options,
bool encrypt);
protected:
wsrep::server_state& server_state_;
};

View File

@ -261,7 +261,8 @@ namespace wsrep
* @return Zero on success, non-zero on error.
*/
int load_provider(const std::string& provider,
const std::string& provider_options);
const std::string& provider_options,
bool encrypt);
void unload_provider();