Home
last modified time | relevance | path

Searched refs:inTrans (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/lib/libsqlite/src/
H A Dbtree.c358 u8 inTrans; /* True if a transaction is in progress */ member
827 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 …]
H A Dvdbeaux.c887 if( db->aDb[i].pBt && db->aDb[i].inTrans==2 ){ in sqliteVdbeReset()
889 db->aDb[i].inTrans = 1; in sqliteVdbeReset()
H A Dvdbe.c2157 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()
H A DsqliteInt.h271 u8 inTrans; /* 0: not writable. 1: Transaction. 2: Checkpoint */ member
H A Dmain.c609 db->aDb[i].inTrans = 0; in sqliteRollbackAll()
H A Dbuild.c53 if( !db->aDb[i].inTrans ){ in sqliteBeginParse()
2124 if( !db->aDb[iDb].inTrans ){ in sqliteBeginWriteOperation()