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

Method do_check

sql/sql_plugin.cc:3631–3645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3629}
3630
3631bool sys_var_pluginvar::do_check(THD *thd, set_var *var)
3632{
3633 st_item_value_holder value;
3634 DBUG_ASSERT(!is_readonly());
3635 DBUG_ASSERT(plugin_var->check);
3636
3637 value.value_type= item_value_type;
3638 value.val_str= item_val_str;
3639 value.val_int= item_val_int;
3640 value.val_real= item_val_real;
3641 value.is_unsigned= item_is_unsigned;
3642 value.item= var->value;
3643
3644 return plugin_var->check(thd, plugin_var, &var->save_result, &value);
3645}
3646
3647bool sys_var_pluginvar::session_update(THD *thd, set_var *var)
3648{

Callers

nothing calls this directly

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected