From a656c71e8ae765ea194a59a69d440d203308f235 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 17 May 2007 15:23:59 +0500 Subject: [PATCH] Addition to fix for BUG#25712 - insert delayed and check table run together report crashed tables Fixed wrongly applied patch. --- mysys/my_seek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysys/my_seek.c b/mysys/my_seek.c index cb0fe75d7e5..805a5654ffc 100644 --- a/mysys/my_seek.c +++ b/mysys/my_seek.c @@ -58,7 +58,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