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

Method global_update

sql/sql_plugin.cc:3706–3719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3704
3705
3706bool sys_var_pluginvar::global_update(THD *thd, set_var *var)
3707{
3708 DBUG_ASSERT(!is_readonly());
3709 mysql_mutex_assert_owner(&LOCK_global_system_variables);
3710
3711 void *tgt= real_value_ptr(thd, OPT_GLOBAL);
3712 const void *src= &var->save_result;
3713
3714 if (!var->value)
3715 src= var_def_ptr(plugin_var);
3716
3717 plugin_var->update(thd, plugin_var, tgt, src);
3718 return false;
3719}
3720
3721
3722#define OPTION_SET_LIMITS(type, options, opt) \

Callers

nothing calls this directly

Calls 2

var_def_ptrFunction · 0.85
updateMethod · 0.45

Tested by

no test coverage detected