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