Searched refs:oldIdx (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | update.c | 61 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 D | delete.c | 76 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 D | trigger.c | 686 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 D | auth.c | 129 assert( pExpr->iTable==pStack->newIdx || pExpr->iTable==pStack->oldIdx ); in sqliteAuthRead()
|
H A D | sqliteInt.h | 1068 int oldIdx; /* Index of vdbe cursor to "old" temp table */ member
|
H A D | expr.c | 494 }else if( pTriggerStack->oldIdx != -1 && sqliteStrICmp("old", zTab) == 0 ){ in lookupName() 495 pExpr->iTable = pTriggerStack->oldIdx; in lookupName()
|
H A D | where.c | 456 if( (x = pParse->trigStack->oldIdx) >= 0 ){ in sqliteWhereBegin()
|