MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / session_value_ptr

Method session_value_ptr

sql/sys_vars.h:973–977  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

971 void global_save_default(THD *thd, set_var *var)
972 { var->save_result.ulonglong_value= option.def_value; }
973 uchar *session_value_ptr(THD *thd, LEX_STRING *base)
974 {
975 return (uchar*)flagset_to_string(thd, 0, session_var(thd, ulonglong),
976 typelib.type_names);
977 }
978 uchar *global_value_ptr(THD *thd, LEX_STRING *base)
979 {
980 return (uchar*)flagset_to_string(thd, 0, global_var(ulonglong),

Callers

nothing calls this directly

Calls 1

flagset_to_stringFunction · 0.85

Tested by

no test coverage detected