Lines Matching refs:v
38 Vdbe *v; in sqliteCopy() local
57 v = sqliteGetVdbe(pParse); in sqliteCopy()
58 if( v ){ in sqliteCopy()
60 addr = sqliteVdbeOp3(v, OP_FileOpen, 0, 0, pFilename->z, pFilename->n); in sqliteCopy()
61 sqliteVdbeDequoteP3(v, addr); in sqliteCopy()
64 sqliteVdbeAddOp(v, OP_Integer, 0, 0); /* Initialize the row count */ in sqliteCopy()
66 end = sqliteVdbeMakeLabel(v); in sqliteCopy()
67 addr = sqliteVdbeAddOp(v, OP_FileRead, pTab->nCol, end); in sqliteCopy()
69 sqliteVdbeChangeP3(v, addr, pDelimiter->z, pDelimiter->n); in sqliteCopy()
70 sqliteVdbeDequoteP3(v, addr); in sqliteCopy()
72 sqliteVdbeChangeP3(v, addr, "\t", 1); in sqliteCopy()
75 sqliteVdbeAddOp(v, OP_FileColumn, pTab->iPKey, 0); in sqliteCopy()
76 sqliteVdbeAddOp(v, OP_MustBeInt, 0, 0); in sqliteCopy()
78 sqliteVdbeAddOp(v, OP_NewRecno, 0, 0); in sqliteCopy()
84 sqliteVdbeAddOp(v, OP_String, 0, 0); in sqliteCopy()
86 sqliteVdbeAddOp(v, OP_FileColumn, i, 0); in sqliteCopy()
93 sqliteVdbeAddOp(v, OP_AddImm, 1, 0); /* Increment row count */ in sqliteCopy()
95 sqliteVdbeAddOp(v, OP_Goto, 0, addr); in sqliteCopy()
96 sqliteVdbeResolveLabel(v, end); in sqliteCopy()
97 sqliteVdbeAddOp(v, OP_Noop, 0, 0); in sqliteCopy()
100 sqliteVdbeAddOp(v, OP_ColumnName, 0, 1); in sqliteCopy()
101 sqliteVdbeChangeP3(v, -1, "rows inserted", P3_STATIC); in sqliteCopy()
102 sqliteVdbeAddOp(v, OP_Callback, 1, 0); in sqliteCopy()