Searched defs:newIdx (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/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 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 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

Completed in 79 milliseconds