mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Improved testability.
FossilOrigin-Name: e83d3a2a4e06665e8a056f63063bd6df03f063b9
This commit is contained in:
@@ -3056,8 +3056,8 @@ int sqlite3WalFrames(
|
||||
** checksums must be recomputed when the transaction is committed. */
|
||||
if( iFirst && (p->pDirty || isCommit==0) ){
|
||||
u32 iWrite = 0;
|
||||
rc = sqlite3WalFindFrame(pWal, p->pgno, &iWrite);
|
||||
if( rc ) return rc;
|
||||
VVA_ONLY(rc =) sqlite3WalFindFrame(pWal, p->pgno, &iWrite);
|
||||
assert( rc==SQLITE_OK || iWrite==0 );
|
||||
if( iWrite>=iFirst ){
|
||||
i64 iOff = walFrameOffset(iWrite, szPage) + WAL_FRAME_HDRSIZE;
|
||||
if( pWal->iReCksum==0 || iWrite<pWal->iReCksum ){
|
||||
|
Reference in New Issue
Block a user