diff options
author | unknown <serg@serg.mylan> | 2003-06-30 17:00:11 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-06-30 17:00:11 +0200 |
commit | 537e120648ab0b1e50fbcefcf0a17f6803135857 (patch) | |
tree | 21e1105cec4b315704a85b67d5762a587ae39209 /sql/sql_table.cc | |
parent | 41b653796a2fd17cac8296f99b57d30ac19e12b6 (diff) | |
download | mariadb-git-537e120648ab0b1e50fbcefcf0a17f6803135857.tar.gz |
REPAIR/OPTIMIZE/CHECK/RESTORE/etc commands close relevant open HANDLERs
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index f3620b860a7..5a53ba30631 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -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]; |