Home
last modified time | relevance | path

Searched refs:oldIdx (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/lib/libsqlite/src/
H A Ddelete.c79 int oldIdx = -1; /* Cursor for the OLD table of AFTER triggers */ in sqliteDeleteFrom() local
120 oldIdx = pParse->nTab++; in sqliteDeleteFrom()
217 sqliteVdbeAddOp(v, OP_OpenPseudo, oldIdx, 0); in sqliteDeleteFrom()
241 sqliteVdbeAddOp(v, OP_PutIntKey, oldIdx, 0); in sqliteDeleteFrom()
247 oldIdx, (pParse->trigStack)?pParse->trigStack->orconf:OE_Default, in sqliteDeleteFrom()
282 oldIdx, (pParse->trigStack)?pParse->trigStack->orconf:OE_Default, in sqliteDeleteFrom()
H A Dupdate.c64 int oldIdx = -1; /* index of trigger "old" temp table */ in sqliteUpdate() local
99 oldIdx = pParse->nTab++; in sqliteUpdate()
251 sqliteVdbeAddOp(v, OP_OpenPseudo, oldIdx, 0); in sqliteUpdate()
278 sqliteVdbeAddOp(v, OP_PutIntKey, oldIdx, 0); in sqliteUpdate()
308 newIdx, oldIdx, onError, loopStart) ){ in sqliteUpdate()
417 newIdx, oldIdx, onError, loopStart) ){ in sqliteUpdate()
440 sqliteVdbeAddOp(v, OP_Close, oldIdx, 0); in sqliteUpdate()
H A Dtrigger.c689 int oldIdx, /* The indice of the "old" row to access */ in sqliteCodeRowTrigger() argument
699 assert(newIdx != -1 || oldIdx != -1); in sqliteCodeRowTrigger()
733 pTriggerStack->oldIdx = oldIdx; in sqliteCodeRowTrigger()
H A Dauth.c132 assert( pExpr->iTable==pStack->newIdx || pExpr->iTable==pStack->oldIdx ); in sqliteAuthRead()
H A DsqliteInt.h1071 int oldIdx; /* Index of vdbe cursor to "old" temp table */ member
H A Dexpr.c497 }else if( pTriggerStack->oldIdx != -1 && sqliteStrICmp("old", zTab) == 0 ){ in lookupName()
498 pExpr->iTable = pTriggerStack->oldIdx; in lookupName()
H A Dwhere.c459 if( (x = pParse->trigStack->oldIdx) >= 0 ){ in sqliteWhereBegin()