]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
In WAL mode, ignore any error returned by an xFileControl(FCNTL_SIZE_HINT) call....
authordan <dan@noemail.net>
Mon, 9 Aug 2010 07:07:37 +0000 (07:07 +0000)
committerdan <dan@noemail.net>
Mon, 9 Aug 2010 07:07:37 +0000 (07:07 +0000)
FossilOrigin-Name: 158a309737bd4cdc033cd504a6d0cc43c15b6e17

manifest
manifest.uuid
src/wal.c

index 6455d6683b871c14c8fbf4019371f6906256d5b9..cf37d80174a4865e7f2967bb2c5f98a3bb356f25 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sminor\sproblems\sand\supdate\scomments\sin\spager.c.
-D 2010-08-07T16:17:49
+C In\sWAL\smode,\signore\sany\serror\sreturned\sby\san\sxFileControl(FCNTL_SIZE_HINT)\scall.\sThis\smatches\sthe\sbehaviour\sin\srollback\smode.
+D 2010-08-09T07:07:38
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in ec08dc838fd8110fe24c92e5130bcd91cbb1ff2e
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -227,7 +227,7 @@ F src/vdbeblob.c 258a6010ba7a82b72b327fb24c55790655689256
 F src/vdbemem.c e5673f81a2381b35c60e73ef0a8502be2ab1041e
 F src/vdbetrace.c 864cef96919323482ebd9986f2132435115e9cc2
 F src/vtab.c 82200af3881fa4e1c9cf07cf31d98c09d437e3ab
-F src/wal.c ef5e37b8cf0b617b787d00eb9c63c803f1f790b1
+F src/wal.c 4ac3c3d757447b54f6911d11843a5a40e2a14ab8
 F src/wal.h 96669b645e27cd5a111ba59f0cae7743a207bc3c
 F src/walker.c 3112bb3afe1d85dc52317cb1d752055e9a781f8f
 F src/where.c 7db3e41c2a846f9deeb24f1bbb75461b4010b7b5
@@ -843,7 +843,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P 531abc808526d607768bf6f503268d4cc66ab169
-R 8bd570ff99007432bc59ff36d6f70bed
+P 92e456374b052aceff356d10317b5b94fcdeaa5c
+R 8b8b84b2159488c8018e6a3bb6917d04
 U dan
-Z ab88a6e6bc1538b57c390502ab433fb7
+Z c0e146dd93d7d775035eb9a6bc3d7235
index 802595050ab00c959974a3572895a2ad5522a2be..93a3181d4d77cde3ab780c6fcc0ae7a332a7d1b3 100644 (file)
@@ -1 +1 @@
-92e456374b052aceff356d10317b5b94fcdeaa5c
\ No newline at end of file
+158a309737bd4cdc033cd504a6d0cc43c15b6e17
\ No newline at end of file
index 57d8e462df077401d8abab3f029594e772657a92..792a656623c37f0d6c8b80ddc07883c857f5d36b 100644 (file)
--- a/src/wal.c
+++ b/src/wal.c
@@ -1582,7 +1582,7 @@ static int walCheckpoint(
     nReq = ((i64)mxPage * szPage);
     rc = sqlite3OsFileSize(pWal->pDbFd, &nSize);
     if( rc==SQLITE_OK && nSize<nReq ){
-      rc = sqlite3OsFileControl(pWal->pDbFd, SQLITE_FCNTL_SIZE_HINT, &nReq);
+      sqlite3OsFileControl(pWal->pDbFd, SQLITE_FCNTL_SIZE_HINT, &nReq);
     }
 
     /* Iterate through the contents of the WAL, copying data to the db file. */