summaryrefslogtreecommitdiff
path: root/mysys/my_seek.c
diff options
context:
space:
mode:
authorunknown <svoj@june.mysql.com>2007-05-17 15:31:28 +0500
committerunknown <svoj@june.mysql.com>2007-05-17 15:31:28 +0500
commit7a32f6c79c00342aea16c608c0a799f527b3d744 (patch)
tree0a2a129b3c68ca48ae83826f302d56796b581356 /mysys/my_seek.c
parent0ea67375efc66950d691ce7bdb5cab8eb0a158d5 (diff)
parent32e868239dc7c701af3375a1b7a25281fa93fe4a (diff)
downloadmariadb-git-7a32f6c79c00342aea16c608c0a799f527b3d744.tar.gz
Merge mysql.com:/home/svoj/devel/mysql/BUG25712/mysql-5.0-engines
into mysql.com:/home/svoj/devel/mysql/BUG25712/mysql-5.1-engines mysys/my_seek.c: Auto merged
Diffstat (limited to 'mysys/my_seek.c')
-rw-r--r--mysys/my_seek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_seek.c b/mysys/my_seek.c
index e8b9fa0ecd2..0d30ba203ae 100644
--- a/mysys/my_seek.c
+++ b/mysys/my_seek.c
@@ -61,7 +61,7 @@ my_off_t my_seek(File fd, my_off_t pos, int whence,
{
pthread_mutex_lock(&my_file_info[fd].mutex);
newpos= lseek(fd, pos, whence);
- pthread_mutex_lock(&my_file_info[fd].mutex);
+ pthread_mutex_unlock(&my_file_info[fd].mutex);
}
else
#endif