Lines Matching refs:v
38 Vdbe *v; /* The virtual database engine */ in sqliteUpdate() local
212 v = sqliteGetVdbe(pParse); in sqliteUpdate()
213 if( v==0 ) goto update_cleanup; in sqliteUpdate()
233 sqliteVdbeAddOp(v, OP_ListWrite, 0, 0); in sqliteUpdate()
242 sqliteVdbeAddOp(v, OP_Integer, 0, 0); in sqliteUpdate()
248 sqliteVdbeAddOp(v, OP_OpenPseudo, oldIdx, 0); in sqliteUpdate()
249 sqliteVdbeAddOp(v, OP_OpenPseudo, newIdx, 0); in sqliteUpdate()
253 sqliteVdbeAddOp(v, OP_ListRewind, 0, 0); in sqliteUpdate()
254 sqliteVdbeAddOp(v, OP_StackDepth, 0, 0); in sqliteUpdate()
255 sqliteVdbeAddOp(v, OP_MemStore, iStackDepth, 1); in sqliteUpdate()
256 loopStart = sqliteVdbeAddOp(v, OP_MemLoad, iStackDepth, 0); in sqliteUpdate()
257 sqliteVdbeAddOp(v, OP_StackReset, 0, 0); in sqliteUpdate()
258 jumpInst = sqliteVdbeAddOp(v, OP_ListRead, 0, 0); in sqliteUpdate()
259 sqliteVdbeAddOp(v, OP_Dup, 0, 0); in sqliteUpdate()
264 sqliteVdbeAddOp(v, OP_Dup, 0, 0); in sqliteUpdate()
266 sqliteVdbeAddOp(v, OP_Integer, pTab->iDb, 0); in sqliteUpdate()
267 sqliteVdbeAddOp(v, OP_OpenRead, iCur, pTab->tnum); in sqliteUpdate()
269 sqliteVdbeAddOp(v, OP_MoveTo, iCur, 0); in sqliteUpdate()
273 sqliteVdbeAddOp(v, OP_Recno, iCur, 0); in sqliteUpdate()
274 sqliteVdbeAddOp(v, OP_RowData, iCur, 0); in sqliteUpdate()
275 sqliteVdbeAddOp(v, OP_PutIntKey, oldIdx, 0); in sqliteUpdate()
282 sqliteVdbeAddOp(v, OP_Recno, iCur, 0); in sqliteUpdate()
286 sqliteVdbeAddOp(v, OP_String, 0, 0); in sqliteUpdate()
291 sqliteVdbeAddOp(v, OP_Column, iCur, i); in sqliteUpdate()
296 sqliteVdbeAddOp(v, OP_MakeRecord, pTab->nCol, 0); in sqliteUpdate()
297 sqliteVdbeAddOp(v, OP_PutIntKey, newIdx, 0); in sqliteUpdate()
299 sqliteVdbeAddOp(v, OP_Close, iCur, 0); in sqliteUpdate()
317 sqliteVdbeAddOp(v, OP_Integer, pTab->iDb, 0); in sqliteUpdate()
318 sqliteVdbeAddOp(v, OP_OpenWrite, iCur, pTab->tnum); in sqliteUpdate()
332 sqliteVdbeAddOp(v, OP_Integer, pIdx->iDb, 0); in sqliteUpdate()
333 sqliteVdbeAddOp(v, OP_OpenWrite, iCur+i+1, pIdx->tnum); in sqliteUpdate()
345 sqliteVdbeAddOp(v, OP_ListRewind, 0, 0); in sqliteUpdate()
346 jumpInst = loopStart = sqliteVdbeAddOp(v, OP_ListRead, 0, 0); in sqliteUpdate()
347 sqliteVdbeAddOp(v, OP_Dup, 0, 0); in sqliteUpdate()
349 sqliteVdbeAddOp(v, OP_NotExists, iCur, loopStart); in sqliteUpdate()
357 sqliteVdbeAddOp(v, OP_MustBeInt, 0, 0); in sqliteUpdate()
364 sqliteVdbeAddOp(v, OP_String, 0, 0); in sqliteUpdate()
369 sqliteVdbeAddOp(v, OP_Column, iCur, i); in sqliteUpdate()
382 sqliteGenerateRowIndexDelete(db, v, pTab, iCur, aIdxUsed); in sqliteUpdate()
387 sqliteVdbeAddOp(v, OP_Delete, iCur, 0); in sqliteUpdate()
398 sqliteVdbeAddOp(v, OP_AddImm, 1, 0); in sqliteUpdate()
408 sqliteVdbeAddOp(v, OP_Close, iCur+i+1, 0); in sqliteUpdate()
410 sqliteVdbeAddOp(v, OP_Close, iCur, 0); in sqliteUpdate()
422 sqliteVdbeAddOp(v, OP_Goto, 0, loopStart); in sqliteUpdate()
423 sqliteVdbeChangeP2(v, jumpInst, sqliteVdbeCurrentAddr(v)); in sqliteUpdate()
424 sqliteVdbeAddOp(v, OP_ListReset, 0, 0); in sqliteUpdate()
430 sqliteVdbeAddOp(v, OP_Close, iCur+i+1, 0); in sqliteUpdate()
433 sqliteVdbeAddOp(v, OP_Close, iCur, 0); in sqliteUpdate()
436 sqliteVdbeAddOp(v, OP_Close, newIdx, 0); in sqliteUpdate()
437 sqliteVdbeAddOp(v, OP_Close, oldIdx, 0); in sqliteUpdate()
440 sqliteVdbeAddOp(v, OP_SetCounts, 0, 0); in sqliteUpdate()
447 sqliteVdbeOp3(v, OP_ColumnName, 0, 1, "rows updated", P3_STATIC); in sqliteUpdate()
448 sqliteVdbeAddOp(v, OP_Callback, 1, 0); in sqliteUpdate()