Searched refs:oldIdx (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/lib/libsqlite/src/ |
H A D | delete.c | 79 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 D | update.c | 64 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 D | trigger.c | 689 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 D | auth.c | 132 assert( pExpr->iTable==pStack->newIdx || pExpr->iTable==pStack->oldIdx ); in sqliteAuthRead()
|
H A D | sqliteInt.h | 1071 int oldIdx; /* Index of vdbe cursor to "old" temp table */ member
|
H A D | expr.c | 497 }else if( pTriggerStack->oldIdx != -1 && sqliteStrICmp("old", zTab) == 0 ){ in lookupName() 498 pExpr->iTable = pTriggerStack->oldIdx; in lookupName()
|
H A D | where.c | 459 if( (x = pParse->trigStack->oldIdx) >= 0 ){ in sqliteWhereBegin()
|