Searched refs:newIdx (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/libsqlite/src/
H A Dupdate.c63 int newIdx = -1; /* index of trigger "new" temp table */ local
98 newIdx = pParse->nTab++;
252 sqliteVdbeAddOp(v, OP_OpenPseudo, newIdx, 0);
300 sqliteVdbeAddOp(v, OP_PutIntKey, newIdx, 0);
308 newIdx, oldIdx, onError, loopStart) ){
417 newIdx, oldIdx, onError, loopStart) ){
439 sqliteVdbeAddOp(v, OP_Close, newIdx, 0);
H A Dinsert.c120 int newIdx = -1; /* Cursor for the NEW table */ local
169 newIdx = pParse->nTab++;
322 sqliteVdbeAddOp(v, OP_OpenPseudo, newIdx, 0);
400 sqliteVdbeAddOp(v, OP_PutIntKey, newIdx, 0);
404 newIdx, -1, onError, endOfLoop) ){
479 after_triggers ? newIdx : -1);
498 if( sqliteCodeRowTrigger(pParse, TK_INSERT, 0, TK_AFTER, pTab, newIdx, -1,
873 int newIdx /* Index of NEW table for triggers. -1 if none */
889 if( newIdx>=0 ){
892 sqliteVdbeAddOp(v, OP_PutIntKey, newIdx,
[all...]
H A Dauth.c132 assert( pExpr->iTable==pStack->newIdx || pExpr->iTable==pStack->oldIdx );
H A Dtrigger.c668 ** 1. No cursors may be open in the main database. (But newIdx and oldIdx
672 ** a temporary vdbe cursor (index newIdx) must be open and pointing at
688 int newIdx, /* The indice of the "new" row to access */
699 assert(newIdx != -1 || oldIdx != -1);
732 pTriggerStack->newIdx = newIdx;
682 sqliteCodeRowTrigger( Parse *pParse, int op, ExprList *pChanges, int tr_tm, Table *pTab, int newIdx, int oldIdx, int orconf, int ignoreJump ) argument
H A Dexpr.c493 if( pTriggerStack->newIdx != -1 && sqliteStrICmp("new", zTab) == 0 ){
494 pExpr->iTable = pTriggerStack->newIdx;
H A DsqliteInt.h1048 * newIdx member contains the index of the vdbe cursor that points at the temp
1050 * for the trigger being coded (for example an ON DELETE trigger), then newIdx
1051 * is set to -1. The oldIdx member is analogous to newIdx, for old.* references.
1070 int newIdx; /* Index of vdbe cursor to "new" temp table */ member in struct:TriggerStack
H A Dwhere.c453 if( (x = pParse->trigStack->newIdx) >= 0 ){

Completed in 32 milliseconds