diff options
author | monty@donna.mysql.com <> | 2000-09-26 22:39:45 +0300 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-09-26 22:39:45 +0300 |
commit | a9e11f2378cfac908ae99cd25cecc108f5ddbf52 (patch) | |
tree | ea6dbe861611447827a284bc7e8a9fafd9222d6d /myisam/mi_close.c | |
parent | ae565d7828e92640dae6d92d66e7b694d9656a41 (diff) | |
download | mariadb-git-a9e11f2378cfac908ae99cd25cecc108f5ddbf52.tar.gz |
Small fixes for release
Diffstat (limited to 'myisam/mi_close.c')
-rw-r--r-- | myisam/mi_close.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_close.c b/myisam/mi_close.c index ebd64aa2349..059e7d3223a 100644 --- a/myisam/mi_close.c +++ b/myisam/mi_close.c @@ -36,7 +36,7 @@ int mi_close(register MI_INFO *info) if (info->lock_type == F_EXTRA_LCK) info->lock_type=F_UNLCK; /* HA_EXTRA_NO_USER_CHANGE */ - if (share->reopen == 1) + if (share->reopen == 1 && share->kfile >= 0) _mi_decrement_open_count(info); if (info->lock_type != F_UNLCK) |