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

Function unlock_variables

sql/sql_plugin.cc:3347–3353  ·  view source on GitHub ↗

Unlocks all system variables which hold a reference */

Source from the content-addressed store, hash-verified

3345 Unlocks all system variables which hold a reference
3346*/
3347static void unlock_variables(THD *thd, struct system_variables *vars)
3348{
3349 intern_plugin_unlock(NULL, vars->table_plugin);
3350 intern_plugin_unlock(NULL, vars->tmp_table_plugin);
3351 intern_plugin_unlock(NULL, vars->enforced_table_plugin);
3352 vars->table_plugin= vars->tmp_table_plugin= vars->enforced_table_plugin= NULL;
3353}
3354
3355
3356/*

Callers 2

plugin_shutdownFunction · 0.85
plugin_thdvar_cleanupFunction · 0.85

Calls 1

intern_plugin_unlockFunction · 0.85

Tested by

no test coverage detected