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

Function plugin_unlock_list

sql/sql_plugin.cc:1432–1446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1430
1431
1432void plugin_unlock_list(THD *thd, plugin_ref *list, size_t count)
1433{
1434 LEX *lex= thd ? thd->lex : 0;
1435 DBUG_ENTER("plugin_unlock_list");
1436 if (count == 0)
1437 DBUG_VOID_RETURN;
1438
1439 DBUG_ASSERT(list);
1440 mysql_mutex_lock(&LOCK_plugin);
1441 while (count--)
1442 intern_plugin_unlock(lex, *list++);
1443 reap_plugins();
1444 mysql_mutex_unlock(&LOCK_plugin);
1445 DBUG_VOID_RETURN;
1446}
1447
1448static void print_init_failed_error(st_plugin_int *p)
1449{

Callers 6

clear_handler_fileMethod · 0.85
tp_foreachFunction · 0.85
plugin_foreach_with_maskFunction · 0.85
~LEXMethod · 0.85
lex_unlock_pluginsFunction · 0.85
mysql_audit_releaseFunction · 0.85

Calls 2

intern_plugin_unlockFunction · 0.85
reap_pluginsFunction · 0.85

Tested by

no test coverage detected