Lines Matching defs:pVTab
5743 int (*xBestIndex)(sqlite3_vtab *pVTab, sqlite3_index_info*);
5744 int (*xDisconnect)(sqlite3_vtab *pVTab);
5745 int (*xDestroy)(sqlite3_vtab *pVTab);
5746 int (*xOpen)(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor);
5755 int (*xBegin)(sqlite3_vtab *pVTab);
5756 int (*xSync)(sqlite3_vtab *pVTab);
5757 int (*xCommit)(sqlite3_vtab *pVTab);
5758 int (*xRollback)(sqlite3_vtab *pVTab);
5765 int (*xSavepoint)(sqlite3_vtab *pVTab, int);
5766 int (*xRelease)(sqlite3_vtab *pVTab, int);
5767 int (*xRollbackTo)(sqlite3_vtab *pVTab, int);
65836 VTable *pVTab;
71150 VTable *pVTab;
71152 u.cl.pVTab = pOp->p4.pVtab;
71153 rc = sqlite3VtabBegin(db, u.cl.pVTab);
71154 if( u.cl.pVTab ) importVtabErrMsg(p, u.cl.pVTab->pVtab);
79824 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
79880 pVTab = sqlite3GetVTable(db, pTab);
79881 if( pVTab->pVtab->pModule->xRename==0 ){
79882 pVTab = 0;
79896 sqlite3BeginWriteOperation(pParse, pVTab!=0, iDb);
79905 if( pVTab ){
79908 sqlite3VdbeAddOp4(v, OP_VRename, i, 0, 0,(const char*)pVTab, P4_VTAB);
86900 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
86902 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iRowid, pVTab, P4_VTAB);
90246 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
90265 if( pOp->opcode==OP_VOpen && pOp->p4.pVtab==pVTab ){
91127 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
91129 sqlite3VdbeAddOp4(v, OP_VUpdate, 1, pTab->nCol+2, regIns, pVTab, P4_VTAB);
102864 const char *pVTab = (const char*)sqlite3GetVTable(db, pTab);
102909 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, pTab->nCol+2, iReg, pVTab, P4_VTAB);
103379 SQLITE_PRIVATE void sqlite3VtabLock(VTable *pVTab){
103380 pVTab->nRef++;
103400 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *pVTab){
103401 sqlite3 *db = pVTab->db;
103404 assert( pVTab->nRef>0 );
103407 pVTab->nRef--;
103408 if( pVTab->nRef==0 ){
103409 sqlite3_vtab *p = pVTab->pVtab;
103413 sqlite3DbFree(db, pVTab);
103459 ** list in p->pVTab. It also decrements the VTable ref count. This is
103473 VTable *pVTab = *ppVTab;
103474 *ppVTab = pVTab->pNext;
103475 sqlite3VtabUnlock(pVTab);
103907 ** Add the virtual table pVTab to the array sqlite3.aVTrans[]. Space should
103910 static void addToVTrans(sqlite3 *db, VTable *pVTab){
103912 db->aVTrans[db->nVTrans++] = pVTab;
103913 sqlite3VtabLock(pVTab);
104063 VTable *pVTab = db->aVTrans[i];
104064 sqlite3_vtab *p = pVTab->pVtab;
104070 pVTab->iSavepoint = 0;
104071 sqlite3VtabUnlock(pVTab);
104133 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab){
104145 if( !pVTab ){
104148 pModule = pVTab->pVtab->pModule;
104155 if( db->aVTrans[i]==pVTab ){
104164 rc = pModule->xBegin(pVTab->pVtab);
104166 addToVTrans(db, pVTab);
104196 VTable *pVTab = db->aVTrans[i];
104197 const sqlite3_module *pMod = pVTab->pMod->pModule;
104198 if( pVTab->pVtab && pMod->iVersion>=2 ){
104203 pVTab->iSavepoint = iSavepoint+1;
104212 if( xMethod && pVTab->iSavepoint>iSavepoint ){
104213 rc = xMethod(pVTab->pVtab, iSavepoint);
109866 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
109868 sqlite3VdbeAddOp4(v, OP_VOpen, iCur, 0, 0, pVTab, P4_VTAB);
120711 static int fts3BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
120712 Fts3Table *p = (Fts3Table *)pVTab;
120792 static int fts3OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
120795 UNUSED_PARAMETER(pVTab);
124798 sqlite3_vtab *pVTab,
124806 UNUSED_PARAMETER(pVTab);
124853 static int fts3auxOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
124856 UNUSED_PARAMETER(pVTab);
128409 sqlite3_vtab *pVTab,
128413 UNUSED_PARAMETER(pVTab);
128437 static int fts3tokOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
128439 UNUSED_PARAMETER(pVTab);
137147 static int rtreeOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
137154 pCsr->base.pVtab = pVTab;