]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
If the checkpoint fails to obtain an exclusive lock on one of the read-lock bytes...
authordan <dan@noemail.net>
Tue, 1 Jun 2010 10:44:28 +0000 (10:44 +0000)
committerdan <dan@noemail.net>
Tue, 1 Jun 2010 10:44:28 +0000 (10:44 +0000)
FossilOrigin-Name: 9e95e35728cf69a0ae50e774d7f6c71a41b17d97

manifest
manifest.uuid
src/wal.c

index d666dcc53c6b33c6ff145d3b262e7e263a23dd9a..c8a67d96a4bb47b3d55773aa1240dd5074760d1e 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fixes\sto\sthe\stest\scases\sin\swal2.test.
-D 2010-06-01T07:51:48
+C If\sthe\scheckpoint\sfails\sto\sobtain\san\sexclusive\slock\son\sone\sof\sthe\sread-lock\sbytes,\sdo\snot\sconsider\sthis\san\serror.
+D 2010-06-01T10:44:29
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in a5cad1f8f3e021356bfcc6c77dc16f6f1952bbc3
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -224,7 +224,7 @@ F src/vdbeblob.c 5327132a42a91e8b7acfb60b9d2c3b1c5c863e0e
 F src/vdbemem.c 2a82f455f6ca6f78b59fb312f96054c04ae0ead1
 F src/vdbetrace.c 864cef96919323482ebd9986f2132435115e9cc2
 F src/vtab.c a0f8a40274e4261696ef57aa806de2776ab72cda
-F src/wal.c d03eebb92e496ef6d4bd15d366bea2ee28e7fd8c
+F src/wal.c a18a20596b8b9ea09ed9c8741f9193e165f0cb6f
 F src/wal.h 1c1c9feb629b7f4afcbe0b47f80f47c5551d3a02
 F src/walker.c 3112bb3afe1d85dc52317cb1d752055e9a781f8f
 F src/where.c 75fee9e255b62f773fcadd1d1f25b6f63ac7a356
@@ -815,7 +815,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P e8e666ab8273f5db5265f0773b39820f75b6df1a
-R 2d4ce189d914f65f52a0b2f34d21a2a0
+P cd5fbcbce8b55f24c0bf349b179c26e333ff7172
+R ffdd8604f512c88d10a6de2f3e641d78
 U dan
-Z 83ba1556aa3dec7d9475b47421ab5c55
+Z ee37b099dcdd95ac7a6b81975abdbcbe
index 16b6531a900a201e59a047d58f64b2e000504a86..3a29660225b73f30895107e53d2e2b195dabd7f9 100644 (file)
@@ -1 +1 @@
-cd5fbcbce8b55f24c0bf349b179c26e333ff7172
\ No newline at end of file
+9e95e35728cf69a0ae50e774d7f6c71a41b17d97
\ No newline at end of file
index 0a67de59d506ac5b966f6eb5fda27dc1527f909c..49becd0e0af4acfe4483db68baa78a89d0229204 100644 (file)
--- a/src/wal.c
+++ b/src/wal.c
@@ -1424,7 +1424,7 @@ static int walCheckpoint(
     u32 y = pInfo->aReadMark[i];
     if( y>0 && (mxSafeFrame==0 || mxSafeFrame>=y) ){
       if( y<=pWal->hdr.mxFrame
-       && (rc = walLockExclusive(pWal, WAL_READ_LOCK(i), 1))==SQLITE_OK
+       && walLockExclusive(pWal, WAL_READ_LOCK(i), 1)==SQLITE_OK
       ){
         pInfo->aReadMark[i] = 0;
         walUnlockExclusive(pWal, WAL_READ_LOCK(i), 1);