| 1430 | |
| 1431 | |
| 1432 | void 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 | |
| 1448 | static void print_init_failed_error(st_plugin_int *p) |
| 1449 | { |
no test coverage detected