Searched refs:inTrans (Results 1 – 6 of 6) sorted by relevance
358 u8 inTrans; /* True if a transaction is in progress */ member827 if( pBt->inTrans==0 && pBt->pCursor==0 && pBt->page1!=0 ){ in unlockBtreeIfUnused()830 pBt->inTrans = 0; in unlockBtreeIfUnused()884 if( pBt->inTrans ) return SQLITE_ERROR; in fileBtreeBeginTrans()897 pBt->inTrans = 1; in fileBtreeBeginTrans()914 pBt->inTrans = 0; in fileBtreeCommit()932 if( pBt->inTrans==0 ) return SQLITE_OK; in fileBtreeRollback()933 pBt->inTrans = 0; in fileBtreeRollback()958 if( !pBt->inTrans || pBt->inCkpt ){ in fileBtreeBeginCkpt()2642 if( !pBt->inTrans || nKey+nData==0 ){ in fileBtreeInsert()[all …]
887 if( db->aDb[i].pBt && db->aDb[i].inTrans==2 ){ in sqliteVdbeReset()889 db->aDb[i].inTrans = 1; in sqliteVdbeReset()
2157 if( i>=0 && i<db->nDb && db->aDb[i].pBt && db->aDb[i].inTrans==1 ){ in sqliteVdbeExec()2159 if( rc==SQLITE_OK ) db->aDb[i].inTrans = 2; in sqliteVdbeExec()2184 if( db->aDb[i].inTrans ) break; in sqliteVdbeExec()2215 db->aDb[i].inTrans = 1; in sqliteVdbeExec()2238 if( db->aDb[i].inTrans ){ in sqliteVdbeExec()2240 db->aDb[i].inTrans = 0; in sqliteVdbeExec()
271 u8 inTrans; /* 0: not writable. 1: Transaction. 2: Checkpoint */ member
609 db->aDb[i].inTrans = 0; in sqliteRollbackAll()
53 if( !db->aDb[i].inTrans ){ in sqliteBeginParse()2124 if( !db->aDb[iDb].inTrans ){ in sqliteBeginWriteOperation()