1620
1620
sys_var_pluginvar *pi= NULL;
1624
1624
if ((var= intern_find_sys_var(str, length, false)) &&
1625
1625
(pi= var->cast_pluginvar()))
1628
1628
LEX *lex= session ? session->lex : 0;
1629
1629
if (!(plugin= my_intern_plugin_lock(lex, plugin_int_to_ref(pi->plugin))))
1630
1630
var= NULL; /* failed to lock it, it must be uninstalling */