]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Previous commit ((6401)) did not quite fix the problem. This should work
authordrh <drh@noemail.net>
Sat, 28 Mar 2009 23:47:10 +0000 (23:47 +0000)
committerdrh <drh@noemail.net>
Sat, 28 Mar 2009 23:47:10 +0000 (23:47 +0000)
better. (CVS 6402)

FossilOrigin-Name: 2e7d3cc9f04de1fe7ef95cd5736dbc409c209cef

manifest
manifest.uuid
src/os_unix.c

index 4d2c75bb7a02870c1bb78a5b777935d6751aaa6f..e19b47bd4c27d711a0f85d9c6a44d7fb9c725524 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C In\sthe\sunix-backend,\swhen\ssimulating\san\sI/O\serror\son\san\sunlock\soperation,\nstill\smark\sthe\sconnection\sas\sunlocked\sto\savoid\sa\sfuture\sassert().\s(CVS\s6401)
-D 2009-03-28T23:23:03
+C Previous\scommit\s((6401))\sdid\snot\squite\sfix\sthe\sproblem.\s\sThis\sshould\swork\nbetter.\s(CVS\s6402)
+D 2009-03-28T23:47:11
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in 583e87706abc3026960ed759aff6371faf84c211
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -141,7 +141,7 @@ F src/os.c c2aa4a7d8bb845222e5c37f56cde377b20c3b087
 F src/os.h fa3f4aa0119ff721a2da4b47ffd74406ac864c05
 F src/os_common.h 8c61457df58f1a4bd5f5adc3e90e01b37bf7afbc
 F src/os_os2.c bed77dc26e3a95ce4a204936b9a1ca6fe612fcc5
-F src/os_unix.c 344fb50f9a4b28bd484a3e3fa99eb153a604754a
+F src/os_unix.c b62e660f82f4aa37d68ff4ffb11673ee4c75e1c9
 F src/os_win.c 40636702058ed4dcd35d68151bfab56d4997cdc1
 F src/pager.c 7a2b4b118708de09e580de66d46e51c1b655f76a
 F src/pager.h 0c9f3520c00d8a3b8e792ca56c9a11b6b02b4b0f
@@ -710,7 +710,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
 F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
-P d1eeee21677a3dffdb4ee1182322007bf24ef03a
-R 8eaf718d3cdf3ef51537232a8fdcbe0f
+P fb35cff855e17771caee2a992e7b2b4105b94862
+R 6c5a32ed1dbda923c028324f6e381112
 U drh
-Z 0e4c9bc244abba3ef5692d84d4fc0bf2
+Z f8f9e15c31b81a3e0355740fc1bcee00
index 25e26732d2ff07aa7fbd84d4a4e448adaaef3ddc..4cdd3d75e34284c6858748d880403c9f085338dd 100644 (file)
@@ -1 +1 @@
-fb35cff855e17771caee2a992e7b2b4105b94862
\ No newline at end of file
+2e7d3cc9f04de1fe7ef95cd5736dbc409c209cef
\ No newline at end of file
index 576d69f273788d274a9ed39ca4b3dd3f77c09618..ddf7b2212599f11b5197782471309f65d52bc385 100644 (file)
@@ -43,7 +43,7 @@
 **   *  Definitions of sqlite3_vfs objects for all locking methods
 **      plus implementations of sqlite3_os_init() and sqlite3_os_end().
 **
-** $Id: os_unix.c,v 1.246 2009/03/28 23:23:03 drh Exp $
+** $Id: os_unix.c,v 1.247 2009/03/28 23:47:11 drh Exp $
 */
 #include "sqliteInt.h"
 #if SQLITE_OS_UNIX              /* This file is used on unix only */
@@ -1481,7 +1481,8 @@ static int unixUnlock(sqlite3_file *id, int locktype){
           pFile->lastErrno = tErrno;
         }
         pLock->cnt = 1;
-        pLock->locktype = locktype;
+        pLock->locktype = NO_LOCK;
+        pFile->locktype = NO_LOCK;
         goto end_unlock;
       }
     }