summaryrefslogtreecommitdiff
path: root/myisam/mi_extra.c
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-09-26 22:39:45 +0300
committerunknown <monty@donna.mysql.com>2000-09-26 22:39:45 +0300
commitb31f06a74efdfb790e139dae2fc0fb54bc2341b6 (patch)
treeea6dbe861611447827a284bc7e8a9fafd9222d6d /myisam/mi_extra.c
parentf0c7c8384123639570f2bc61b7e2c806a386e780 (diff)
downloadmariadb-git-b31f06a74efdfb790e139dae2fc0fb54bc2341b6.tar.gz
Small fixes for release
Docs/manual.texi: Update of file limits on windows myisam/mi_close.c: Fix for alter table on windows myisam/mi_extra.c: Fix for alter table on windows myisam/myisamlog.c: Corrected statistics information sql-bench/limits/mysql-3.23.cfg: Update to new crash-me sql-bench/limits/mysql.cfg: Update to new crash-me sql/sql_base.cc: Fix if end of memory sql/table.cc: Fix of new introduced index-handling bug
Diffstat (limited to 'myisam/mi_extra.c')
-rw-r--r--myisam/mi_extra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/myisam/mi_extra.c b/myisam/mi_extra.c
index b9ded70402a..b90b5b35780 100644
--- a/myisam/mi_extra.c
+++ b/myisam/mi_extra.c
@@ -241,6 +241,8 @@ int mi_extra(MI_INFO *info, enum ha_extra_function function)
error=my_errno;
info->lock_type = F_UNLCK;
}
+ if (share->kfile >= 0)
+ _mi_decrement_open_count(info);
if (share->kfile >= 0 && my_close(share->kfile,MYF(0)))
error=my_errno;
{