]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Remove two more testcase() macros that require 4GiB WAL files to hit.
authordrh <drh@noemail.net>
Wed, 7 Jul 2010 14:39:59 +0000 (14:39 +0000)
committerdrh <drh@noemail.net>
Wed, 7 Jul 2010 14:39:59 +0000 (14:39 +0000)
FossilOrigin-Name: 16e18f2706e67210eae62edfb748758fd27f23d7

manifest
manifest.uuid
src/wal.c

index 97b871de656989f2c08b01d6374699e7d7113260..df53dfec5f23dd13edaa5d4051c487c6755143e0 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,8 +1,8 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-C Remove\sa\stestcase()\smacro\sthat\swould\srequire\sa\s4GiB\sWAL\sto\sreach.
-D 2010-07-07T14:35:58
+C Remove\stwo\smore\stestcase()\smacros\sthat\srequire\s4GiB\sWAL\sfiles\sto\shit.
+D 2010-07-07T14:40:00
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in c4270a1cd7cd70a263b7e96a258aa90e9c3618eb
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -229,7 +229,7 @@ F src/vdbeblob.c 258a6010ba7a82b72b327fb24c55790655689256
 F src/vdbemem.c 5e579abf6532001dfbee0e640dc34eae897a9807
 F src/vdbetrace.c 864cef96919323482ebd9986f2132435115e9cc2
 F src/vtab.c a0f8a40274e4261696ef57aa806de2776ab72cda
-F src/wal.c 950f8d843efa08a9f9e05ed25815262b197bc932
+F src/wal.c 7af0b976cff228186a0bbb2c51da6745d8cbf7c8
 F src/wal.h 906c85760598b18584921fe08008435aa4eeeeb2
 F src/walker.c 3112bb3afe1d85dc52317cb1d752055e9a781f8f
 F src/where.c 926c83c6394e132a1c62b6b12ceeba7d55a34c19
@@ -834,14 +834,14 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P d94269e60dbcb50b8a35f142c64ed013cc0045ac
-R 88711d279d3652f0441460db8eabd25c
+P 15f9c2713bdfd3d6c8d8d4298f101d128e39b99a
+R 31bf5600bb5411f5c923088d366ff09d
 U drh
-Z ca7b32c7a12c1a4faadf104f2e96e9b3
+Z 229126a0bd3f70b25cec4ee40a7c7ad1
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (GNU/Linux)
 
-iD8DBQFMNJDRoxKgR168RlERAg9SAJ9o/wzRHgI3rUAgTWE0fI8QfqgFZwCgjgHM
-b4RJd1ujyUfxDB3jRudAQjk=
-=QBgh
+iD8DBQFMNJHDoxKgR168RlERAoXUAJ410m3TpyI87fykrv5V7t/PFDukwwCfb+US
+QPbUmbN9eK9YRV+qQPBskyU=
+=E0uV
 -----END PGP SIGNATURE-----
index 338bc63dde964aa7e42db7c15a77c44053b20639..d912d80544b2a455ad77f2fd27487cb086b174f4 100644 (file)
@@ -1 +1 @@
-15f9c2713bdfd3d6c8d8d4298f101d128e39b99a
\ No newline at end of file
+16e18f2706e67210eae62edfb748758fd27f23d7
\ No newline at end of file
index 525138682f6d6511416ce8f458a1793eef050d80..f00da807afd870f31a018408d2473f234de1c8b8 100644 (file)
--- a/src/wal.c
+++ b/src/wal.c
@@ -2420,7 +2420,7 @@ int sqlite3WalFrames(
     void *pData;
    
     iOffset = walFrameOffset(++iFrame, szPage);
-    testcase( IS_BIG_INT(iOffset) );
+    /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL */
     
     /* Populate and write the frame header */
     nDbsize = (isCommit && p->pDirty==0) ? nTruncate : 0;
@@ -2460,7 +2460,7 @@ int sqlite3WalFrames(
       pData = pLast->pData;
 #endif
       walEncodeFrame(pWal, pLast->pgno, nTruncate, pData, aFrame);
-      testcase( IS_BIG_INT(iOffset) );
+      /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL */
       rc = sqlite3OsWrite(pWal->pWalFd, aFrame, sizeof(aFrame), iOffset);
       if( rc!=SQLITE_OK ){
         return rc;