Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dbtree.c356 u8 inTrans; /* True if a transaction is in progress */ member
825 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 …]
H A Dvdbeaux.c884 if( db->aDb[i].pBt && db->aDb[i].inTrans==2 ){ in sqliteVdbeReset()
886 db->aDb[i].inTrans = 1; in sqliteVdbeReset()
H A Dvdbe.c2155 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()
H A DsqliteInt.h268 u8 inTrans; /* 0: not writable. 1: Transaction. 2: Checkpoint */ member
H A Dmain.c606 db->aDb[i].inTrans = 0; in sqliteRollbackAll()
H A Dbuild.c50 if( !db->aDb[i].inTrans ){ in sqliteBeginParse()
2121 if( !db->aDb[iDb].inTrans ){ in sqliteBeginWriteOperation()