Lines Matching defs:useWal
66034 ** The useWal parameter is true to force the use of the WAL and disable
66036 ** checkpointed. If useWal==0 then this routine calls walIndexReadHdr()
66040 ** flushed.) When useWal==1, the wal-index header is assumed to already
66063 ** If the useWal parameter is 1 then the WAL will never be ignored and
66076 static int walTryBeginRead(Wal *pWal, int *pChanged, int useWal, int cnt){
66086 /* useWal may only be set for read/write connections */
66087 assert( (pWal->readOnly & WAL_SHM_RDONLY)==0 || useWal==0 );
66119 if( !useWal ){
66160 if( !useWal && AtomicLoad(&pInfo->nBackfill)==pWal->hdr.mxFrame
66844 assert( (rc&0xff)!=SQLITE_BUSY ); /* BUSY not possible when useWal==1 */