Searched refs:WAL_HDRSIZE (Results 1 – 1 of 1) sorted by relevance
480 #define WAL_HDRSIZE 32 macro499 WAL_HDRSIZE + ((iFrame)-1)*(i64)((szPage)+WAL_FRAME_HDRSIZE) \1253 if( nSize>WAL_HDRSIZE ){ in walIndexRecover()1254 u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */ in walIndexRecover()1267 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0); in walIndexRecover()1293 aBuf, WAL_HDRSIZE-2*4, 0, pWal->hdr.aFrameCksum in walIndexRecover()1320 iLastFrame = (nSize - WAL_HDRSIZE) / szFrame; in walIndexRecover()1509 assert( 32 == WAL_HDRSIZE ); in sqlite3WalOpen()2580 if( szWal<WAL_HDRSIZE ){ in walBeginShmUnreliable()2593 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0); in walBeginShmUnreliable()[all …]