summaryrefslogtreecommitdiff
path: root/myisam/mi_locking.c
diff options
context:
space:
mode:
authorKristofer.Pettersson@naruto. <>2006-09-14 11:37:33 +0200
committerKristofer.Pettersson@naruto. <>2006-09-14 11:37:33 +0200
commit441e16e8077f0d26534826e10d2aa90972a9da1d (patch)
tree6b57acb95626c568ba818f6893de4716fc39a252 /myisam/mi_locking.c
parent323efcc0c185e69b1dc35fa6f637aae5905d8080 (diff)
downloadmariadb-git-441e16e8077f0d26534826e10d2aa90972a9da1d.tar.gz
Cset exclude: Kristofer.Pettersson@naruto.|ChangeSet|20060912122341|50740
Diffstat (limited to 'myisam/mi_locking.c')
-rw-r--r--myisam/mi_locking.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/myisam/mi_locking.c b/myisam/mi_locking.c
index 4f8420d4b12..8d48c5242e5 100644
--- a/myisam/mi_locking.c
+++ b/myisam/mi_locking.c
@@ -223,18 +223,7 @@ int mi_lock_database(MI_INFO *info, int lock_type)
default:
break; /* Impossible */
}
- }
-#ifdef __WIN__
- else
- {
- /*
- The file has been closed and kfile is -1.
- See mi_extra.c about implementation of
- HA_EXTRA_PREPARE_FOR_DELETE.
- */
- error=HA_ERR_NO_SUCH_TABLE;
}
-#endif
pthread_mutex_unlock(&share->intern_lock);
#if defined(FULL_LOG) || defined(_lint)
lock_type|=(int) (flag << 8); /* Set bit to set if real lock */