Lines Matching refs:SQLITE_WRITELOCK
80 #define SQLITE_WRITELOCK 2 macro
453 if( pPager->state>=SQLITE_WRITELOCK ){ in pager_reset()
476 if( pPager->state<SQLITE_WRITELOCK ) return SQLITE_OK; in pager_unwritelock()
1070 case SQLITE_WRITELOCK: { in sqlitepager_close()
1349 pPager->state = SQLITE_WRITELOCK; in sqlitepager_get()
1635 assert( pPager->state==SQLITE_WRITELOCK ); in pager_open_journal()
1726 pPager->state = SQLITE_WRITELOCK; in sqlitepager_begin()
1788 assert( pPager->state==SQLITE_WRITELOCK ); in sqlitepager_write()
1959 if( pPager->state!=SQLITE_WRITELOCK || pPager->journalOpen==0 ) return; in sqlitepager_dont_rollback()
2001 if( pPager->state!=SQLITE_WRITELOCK ){ in sqlitepager_commit()
2061 if( pPager->state>=SQLITE_WRITELOCK ){ in sqlitepager_rollback()
2066 if( pPager->state!=SQLITE_WRITELOCK ){ in sqlitepager_rollback()