MCPcopy Create free account
hub / github.com/MariaDB/server / wsrep_provider_plugin_deinit

Function wsrep_provider_plugin_deinit

sql/wsrep_plugin.cc:298–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298static int wsrep_provider_plugin_deinit(void *p)
299{
300 WSREP_DEBUG("wsrep_provider_plugin_deinit()");
301 sys_var *my_var= find_sys_var(current_thd, "wsrep_provider_options");
302 int flags= my_var->get_flags();
303 my_var->update_flags(flags &= (int)~sys_var::READONLY);
304 return 0;
305}
306
307struct Mysql_replication wsrep_provider_plugin = {
308 MYSQL_REPLICATION_INTERFACE_VERSION

Callers

nothing calls this directly

Calls 3

find_sys_varFunction · 0.85
get_flagsMethod · 0.45
update_flagsMethod · 0.45

Tested by

no test coverage detected