| 3704 | |
| 3705 | |
| 3706 | bool 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) \ |
nothing calls this directly
no test coverage detected