Lines Matching refs:PAGER_ERROR
34979 ** WRITER_*** -> ERROR [pager_error]
35168 #define PAGER_ERROR 6
35416 ** The Pager.errCode variable is only ever used in PAGER_ERROR state. It
35417 ** is set to zero in all other states. In PAGER_ERROR state, Pager.errCode
35624 || p->eState==PAGER_ERROR
35653 assert( p->eState!=PAGER_ERROR && p->eState!=PAGER_OPEN );
35729 case PAGER_ERROR:
35771 p->eState==PAGER_ERROR ? "ERROR" : "?error?"
35978 assert( pPager->eState!=PAGER_ERROR );
36540 || pPager->eState==PAGER_ERROR
36578 if( rc!=SQLITE_OK && pPager->eState==PAGER_ERROR ){
36582 /* The pager state may be changed from PAGER_ERROR to PAGER_OPEN here
36586 assert( pPager->errCode || pPager->eState!=PAGER_ERROR );
36628 static int pager_error(Pager *pPager, int rc){
36638 pPager->eState = PAGER_ERROR;
36650 ** This routine is never called in PAGER_ERROR state. If it is called
36714 assert( pPager->eState!=PAGER_ERROR );
36812 if( pPager->eState!=PAGER_ERROR && pPager->eState!=PAGER_OPEN ){
37284 assert( pPager->eState!=PAGER_ERROR );
37980 assert( pPager->eState!=PAGER_ERROR );
38268 ** PAGER_ERROR state. But since PAGER_ERROR state guarantees that
38558 pager_error(pPager, pagerSyncHotJournal(pPager));
39038 return pager_error(pPager, rc);
39598 ** PAGER_ERROR now. This is not actually counted as a transition
39606 pager_error(pPager, rc);
39867 assert( pPager->eState>=PAGER_READER && pPager->eState!=PAGER_ERROR );
39997 assert( pPager->eState>=PAGER_READER && pPager->eState<PAGER_ERROR );
40219 assert( pPager->eState!=PAGER_ERROR );
40507 || pPager->eState==PAGER_ERROR
40727 return pager_error(pPager, rc);
40733 ** The pager falls back to PAGER_READER state if successful, or PAGER_ERROR
40736 ** If the pager is already in PAGER_ERROR state when this function is called,
40765 if( pPager->eState==PAGER_ERROR ) return pPager->errCode;
40783 ** cache. So call pager_error() on the way out to make any error persistent.
40785 return pager_error(pPager, rc);
41297 assert( pPager->eState!=PAGER_ERROR );