Lines Matching refs:pVTab

5136   int (*xBestIndex)(sqlite3_vtab *pVTab, sqlite3_index_info*);
5137 int (*xDisconnect)(sqlite3_vtab *pVTab);
5138 int (*xDestroy)(sqlite3_vtab *pVTab);
5139 int (*xOpen)(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor);
5148 int (*xBegin)(sqlite3_vtab *pVTab);
5149 int (*xSync)(sqlite3_vtab *pVTab);
5150 int (*xCommit)(sqlite3_vtab *pVTab);
5151 int (*xRollback)(sqlite3_vtab *pVTab);
9217 Table *pVTab; /* vtab with active Connect/Create method */
62832 VTable *pVTab;
67899 VTable *pVTab;
67901 u.cg.pVTab = pOp->p4.pVtab;
67902 rc = sqlite3VtabBegin(db, u.cg.pVTab);
67903 if( u.cg.pVTab ) importVtabErrMsg(p, u.cg.pVTab->pVtab);
74903 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
74959 pVTab = sqlite3GetVTable(db, pTab);
74960 if( pVTab->pVtab->pModule->xRename==0 ){
74961 pVTab = 0;
74975 sqlite3BeginWriteOperation(pParse, pVTab!=0, iDb);
74984 if( pVTab ){
74987 sqlite3VdbeAddOp4(v, OP_VRename, i, 0, 0,(const char*)pVTab, P4_VTAB);
81458 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
81460 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iRowid, pVTab, P4_VTAB);
84624 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
84643 if( pOp->opcode==OP_VOpen && pOp->p4.pVtab==pVTab ){
85452 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
85454 sqlite3VdbeAddOp4(v, OP_VUpdate, 1, pTab->nCol+2, regIns, pVTab, P4_VTAB);
96310 const char *pVTab = (const char*)sqlite3GetVTable(db, pTab);
96355 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, pTab->nCol+2, iReg, pVTab, P4_VTAB);
96806 SQLITE_PRIVATE void sqlite3VtabLock(VTable *pVTab){
96807 pVTab->nRef++;
96827 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *pVTab){
96828 sqlite3 *db = pVTab->db;
96831 assert( pVTab->nRef>0 );
96834 pVTab->nRef--;
96835 if( pVTab->nRef==0 ){
96836 sqlite3_vtab *p = pVTab->pVtab;
96840 sqlite3DbFree(db, pVTab);
97168 assert( !db->pVTab );
97170 db->pVTab = pTab;
97189 if( db->pVTab ){
97237 db->pVTab = 0;
97280 ** Add the virtual table pVTab to the array sqlite3.aVTrans[].
97282 static int addToVTrans(sqlite3 *db, VTable *pVTab){
97298 db->aVTrans[db->nVTrans++] = pVTab;
97299 sqlite3VtabLock(pVTab);
97357 pTab = db->pVTab;
97385 db->pVTab = 0;
97448 VTable *pVTab = db->aVTrans[i];
97449 sqlite3_vtab *p = pVTab->pVtab;
97455 sqlite3VtabUnlock(pVTab);
97517 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab){
97529 if( !pVTab ){
97532 pModule = pVTab->pVtab->pModule;
97540 if( db->aVTrans[i]==pVTab ){
97546 rc = pModule->xBegin(pVTab->pVtab);
97548 rc = addToVTrans(db, pVTab);
102396 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
102398 sqlite3VdbeAddOp4(v, OP_VOpen, iCur, 0, 0, pVTab, P4_VTAB);
111836 static int recoverOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
111837 Recover *pRecover = (Recover*)pVTab;
111877 pCursor->base.pVtab = pVTab;
114102 static int fts3BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
114103 Fts3Table *p = (Fts3Table *)pVTab;
114155 static int fts3OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
114158 UNUSED_PARAMETER(pVTab);
116890 sqlite3_vtab *pVTab,
116898 UNUSED_PARAMETER(pVTab);
116945 static int fts3auxOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
116948 UNUSED_PARAMETER(pVTab);
125059 static int rtreeOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
125066 pCsr->base.pVtab = pVTab;