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:
@ -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];
|
||||
|
Reference in New Issue
Block a user