Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dupdate.c61 int oldIdx = -1; /* index of trigger "old" temp table */ in sqliteUpdate() local
96 oldIdx = pParse->nTab++; in sqliteUpdate()
248 sqliteVdbeAddOp(v, OP_OpenPseudo, oldIdx, 0); in sqliteUpdate()
275 sqliteVdbeAddOp(v, OP_PutIntKey, oldIdx, 0); in sqliteUpdate()
305 newIdx, oldIdx, onError, loopStart) ){ in sqliteUpdate()
414 newIdx, oldIdx, onError, loopStart) ){ in sqliteUpdate()
437 sqliteVdbeAddOp(v, OP_Close, oldIdx, 0); in sqliteUpdate()
H A Ddelete.c76 int oldIdx = -1; /* Cursor for the OLD table of AFTER triggers */ in sqliteDeleteFrom() local
117 oldIdx = pParse->nTab++; in sqliteDeleteFrom()
214 sqliteVdbeAddOp(v, OP_OpenPseudo, oldIdx, 0); in sqliteDeleteFrom()
238 sqliteVdbeAddOp(v, OP_PutIntKey, oldIdx, 0); in sqliteDeleteFrom()
244 oldIdx, (pParse->trigStack)?pParse->trigStack->orconf:OE_Default, in sqliteDeleteFrom()
279 oldIdx, (pParse->trigStack)?pParse->trigStack->orconf:OE_Default, in sqliteDeleteFrom()
H A Dtrigger.c686 int oldIdx, /* The indice of the "old" row to access */ in sqliteCodeRowTrigger() argument
696 assert(newIdx != -1 || oldIdx != -1); in sqliteCodeRowTrigger()
730 pTriggerStack->oldIdx = oldIdx; in sqliteCodeRowTrigger()
H A Dauth.c129 assert( pExpr->iTable==pStack->newIdx || pExpr->iTable==pStack->oldIdx ); in sqliteAuthRead()
H A DsqliteInt.h1068 int oldIdx; /* Index of vdbe cursor to "old" temp table */ member
H A Dexpr.c494 }else if( pTriggerStack->oldIdx != -1 && sqliteStrICmp("old", zTab) == 0 ){ in lookupName()
495 pExpr->iTable = pTriggerStack->oldIdx; in lookupName()
H A Dwhere.c456 if( (x = pParse->trigStack->oldIdx) >= 0 ){ in sqliteWhereBegin()