diff options
author | unknown <svoj@mysql.com/june.mysql.com> | 2007-05-17 15:27:56 +0500 |
---|---|---|
committer | unknown <svoj@mysql.com/june.mysql.com> | 2007-05-17 15:27:56 +0500 |
commit | 32e868239dc7c701af3375a1b7a25281fa93fe4a (patch) | |
tree | f2626817381e7be9b8b7fe47ce17313e655aee7d /mysys/my_seek.c | |
parent | 28d896ba044f9ce7fa2b35194b2bede1c98e7ce4 (diff) | |
parent | a656c71e8ae765ea194a59a69d440d203308f235 (diff) | |
download | mariadb-git-32e868239dc7c701af3375a1b7a25281fa93fe4a.tar.gz |
Merge mysql.com:/home/svoj/devel/mysql/BUG25712/mysql-4.1-engines
into mysql.com:/home/svoj/devel/mysql/BUG25712/mysql-5.0-engines
mysys/my_seek.c:
Auto merged
Diffstat (limited to 'mysys/my_seek.c')
-rw-r--r-- | mysys/my_seek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_seek.c b/mysys/my_seek.c index d46a02a6a50..3d415400aa2 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 |