Unlocks all system variables which hold a reference */
| 3345 | Unlocks all system variables which hold a reference |
| 3346 | */ |
| 3347 | static 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 | /* |
no test coverage detected