1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Remove two more testcase() macros that require 4GiB WAL files to hit.

FossilOrigin-Name: 16e18f2706e67210eae62edfb748758fd27f23d7
This commit is contained in:
drh
2010-07-07 14:39:59 +00:00
parent 09b5dbc519
commit e9187b4371
3 changed files with 12 additions and 12 deletions

View File

@@ -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;