Searched refs:inTrans (Results 1 – 6 of 6) sorted by relevance
356 u8 inTrans; /* True if a transaction is in progress */ member825 if( pBt->inTrans==0 && pBt->pCursor==0 && pBt->page1!=0 ){ in unlockBtreeIfUnused()828 pBt->inTrans = 0; in unlockBtreeIfUnused()882 if( pBt->inTrans ) return SQLITE_ERROR; in fileBtreeBeginTrans()895 pBt->inTrans = 1; in fileBtreeBeginTrans()912 pBt->inTrans = 0; in fileBtreeCommit()930 if( pBt->inTrans==0 ) return SQLITE_OK; in fileBtreeRollback()931 pBt->inTrans = 0; in fileBtreeRollback()956 if( !pBt->inTrans || pBt->inCkpt ){ in fileBtreeBeginCkpt()2640 if( !pBt->inTrans || nKey+nData==0 ){ in fileBtreeInsert()[all …]
884 if( db->aDb[i].pBt && db->aDb[i].inTrans==2 ){ in sqliteVdbeReset()886 db->aDb[i].inTrans = 1; in sqliteVdbeReset()
2155 if( i>=0 && i<db->nDb && db->aDb[i].pBt && db->aDb[i].inTrans==1 ){ in sqliteVdbeExec()2157 if( rc==SQLITE_OK ) db->aDb[i].inTrans = 2; in sqliteVdbeExec()2182 if( db->aDb[i].inTrans ) break; in sqliteVdbeExec()2213 db->aDb[i].inTrans = 1; in sqliteVdbeExec()2236 if( db->aDb[i].inTrans ){ in sqliteVdbeExec()2238 db->aDb[i].inTrans = 0; in sqliteVdbeExec()
268 u8 inTrans; /* 0: not writable. 1: Transaction. 2: Checkpoint */ member
606 db->aDb[i].inTrans = 0; in sqliteRollbackAll()
50 if( !db->aDb[i].inTrans ){ in sqliteBeginParse()2121 if( !db->aDb[iDb].inTrans ){ in sqliteBeginWriteOperation()