diff options
Diffstat (limited to 'src/wal.c')
-rw-r--r-- | src/wal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -926,7 +926,7 @@ int sqlite3WalOpenSnapshot(Wal *pWal, int *pChanged){ }else{ /* Check if the mapping needs to grow. */ if( pWal->hdr.iLastPg - && walIndexEntry(pWal->hdr.iLastPg)>=pWal->szWIndex + && walIndexEntry(pWal->hdr.iLastPg)*sizeof(u32)>=pWal->szWIndex ){ walIndexRemap(pWal, -1); } |