1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

REPAIR/OPTIMIZE/CHECK/RESTORE/etc commands close relevant open HANDLERs

This commit is contained in:
serg@serg.mylan
2003-06-30 17:00:11 +02:00
parent c781673bd7
commit d71b51323b

View File

@ -1198,6 +1198,7 @@ static int mysql_admin_table(THD* thd, TABLE_LIST* tables,
if (send_fields(thd, field_list, 1))
DBUG_RETURN(-1);
mysql_ha_closeall(thd, tables);
for (table = tables; table; table = table->next)
{
char table_name[NAME_LEN*2+2];