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

Function lex_unlock_plugins

sql/sql_lex.cc:1363–1375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1361}
1362
1363void lex_unlock_plugins(LEX *lex)
1364{
1365 DBUG_ENTER("lex_unlock_plugins");
1366
1367 /* release used plugins */
1368 if (lex->plugins.elements) /* No function call and no mutex if no plugins. */
1369 {
1370 plugin_unlock_list(0, (plugin_ref*)lex->plugins.buffer,
1371 lex->plugins.elements);
1372 }
1373 reset_dynamic(&lex->plugins);
1374 DBUG_VOID_RETURN;
1375}
1376
1377/*
1378 Don't delete lex->sphead, it'll be needed for EXECUTE.

Callers 2

lex_endFunction · 0.85
prepareMethod · 0.85

Calls 1

plugin_unlock_listFunction · 0.85

Tested by

no test coverage detected