Searched defs:iCur (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libsqlite/src/
H A Ddelete.c71 int iCur; /* VDBE Cursor number for pTab */ local
126 iCur = pTabList->a[0].iCursor = pParse->nTab++;
155 sqliteSelect(pParse, pView, SRT_TempTable, iCur, 0, 0, 0);
178 sqliteVdbeAddOp(v, OP_OpenRead, iCur, pTab->tnum);
180 sqliteVdbeAddOp(v, OP_Rewind, iCur, sqliteVdbeCurrentAddr(v)+2);
182 sqliteVdbeAddOp(v, OP_Next, iCur, addr);
184 sqliteVdbeAddOp(v, OP_Close, iCur, 0);
235 sqliteVdbeAddOp(v, OP_OpenRead, iCur, pTab->tnum);
237 sqliteVdbeAddOp(v, OP_MoveTo, iCur, 0);
239 sqliteVdbeAddOp(v, OP_Recno, iCur,
339 sqliteGenerateRowDelete( sqlite *db, Vdbe *v, Table *pTab, int iCur, int count ) argument
370 sqliteGenerateRowIndexDelete( sqlite *db, Vdbe *v, Table *pTab, int iCur, char *aIdxUsed ) argument
[all...]
H A Dupdate.c45 int iCur; /* VDBE Cursor number of pTab */ local
107 pTabList->a[0].iCursor = iCur = pParse->nTab++;
225 sqliteSelect(pParse, pView, SRT_TempTable, iCur, 0, 0, 0);
270 sqliteVdbeAddOp(v, OP_OpenRead, iCur, pTab->tnum);
272 sqliteVdbeAddOp(v, OP_MoveTo, iCur, 0);
276 sqliteVdbeAddOp(v, OP_Recno, iCur, 0);
277 sqliteVdbeAddOp(v, OP_RowData, iCur, 0);
285 sqliteVdbeAddOp(v, OP_Recno, iCur, 0);
294 sqliteVdbeAddOp(v, OP_Column, iCur, i);
302 sqliteVdbeAddOp(v, OP_Close, iCur,
[all...]
H A Dinsert.c639 int iCur; local
764 for(iCur=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, iCur++){
765 if( aIdxUsed && aIdxUsed[iCur]==0 ) continue; /* Skip unused indices */
799 jumpInst2 = sqliteVdbeAddOp(v, OP_IsUnique, base+iCur+1, 0);
H A Dwhere.c487 int iCur = pTabList->a[i].iCursor; /* The cursor for this table */ local
488 int mask = getMask(&maskSet, iCur); /* Cursor mask for this table */
502 pWInfo->a[i].iCur = -1;
507 if( aExpr[j].idxLeft==iCur && aExpr[j].p->pLeft->iColumn<0
518 if( aExpr[j].idxRight==iCur && aExpr[j].p->pRight->iColumn<0
569 if( aExpr[j].idxLeft==iCur
604 if( aExpr[j].idxRight==iCur
659 pWInfo->a[i].iCur = pParse->nTab++;
694 pWInfo->a[0].iCur = pParse->nTab++;
716 sqliteVdbeOp3(v, OP_OpenRead, pWInfo->a[i].iCur, pI
725 int iCur = pTabList->a[i].iCursor; local
[all...]
H A Dbtree.c2196 int iCur; /* apCell[iCur] is the cell of the cursor */ local
2361 ** Set iCur to be the index in apCell[] of the cell that the cursor
2364 ** has no involvement with this rebalancing, then set iCur to a large
2365 ** number so that the iCur==j tests always fail in the main cell
2369 iCur = 0;
2372 iCur += pCur->idx;
2375 iCur += apOld[i]->nCell;
2379 iCur++;
2523 if( pCur && iCur
[all...]
H A DsqliteInt.h806 int iCur; /* Cursor number used for this index */ member in struct:WhereLevel

Completed in 32 milliseconds