Lines Matching refs:pVTab
111 bytecodevtab *pVTab = (bytecodevtab*)p; in bytecodevtabOpen() local
116 sqlite3VdbeMemInit(&pCur->sub, pVTab->db, 1); in bytecodevtabOpen()
199 bytecodevtab *pVTab = (bytecodevtab*)cur->pVtab; in bytecodevtabColumn() local
201 if( pVTab->bTablesUsed ){ in bytecodevtabColumn()
210 sqlite3 *db = pVTab->db; in bytecodevtabColumn()
254 pCur->zP4 = sqlite3VdbeDisplayP4(pVTab->db, pOp); in bytecodevtabColumn()
260 char *zCom = sqlite3VdbeDisplayComment(pVTab->db, pOp, pCur->zP4); in bytecodevtabColumn()
319 bytecodevtab *pVTab = (bytecodevtab *)pVtabCursor->pVtab; in bytecodevtabFilter() local
332 rc = sqlite3_prepare_v2(pVTab->db, zSql, -1, &pCur->pStmt, 0); in bytecodevtabFilter()
339 pVTab->base.zErrMsg = sqlite3_mprintf( in bytecodevtabFilter()
341 pVTab->bTablesUsed ? "tables_used" : "bytecode" in bytecodevtabFilter()
362 bytecodevtab *pVTab = (bytecodevtab*)tab; in bytecodevtabBestIndex() local
363 int iBaseCol = pVTab->bTablesUsed ? 4 : 8; in bytecodevtabBestIndex()