Lines Matching defs:pVTab
5330 int (*xBestIndex)(sqlite3_vtab *pVTab, sqlite3_index_info*);
5331 int (*xDisconnect)(sqlite3_vtab *pVTab);
5332 int (*xDestroy)(sqlite3_vtab *pVTab);
5333 int (*xOpen)(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor);
5342 int (*xBegin)(sqlite3_vtab *pVTab);
5343 int (*xSync)(sqlite3_vtab *pVTab);
5344 int (*xCommit)(sqlite3_vtab *pVTab);
5345 int (*xRollback)(sqlite3_vtab *pVTab);
5352 int (*xSavepoint)(sqlite3_vtab *pVTab, int);
5353 int (*xRelease)(sqlite3_vtab *pVTab, int);
5354 int (*xRollbackTo)(sqlite3_vtab *pVTab, int);
64041 VTable *pVTab;
69263 VTable *pVTab;
69265 u.cj.pVTab = pOp->p4.pVtab;
69266 rc = sqlite3VtabBegin(db, u.cj.pVTab);
69267 if( u.cj.pVTab ) importVtabErrMsg(p, u.cj.pVTab->pVtab);
77186 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
77242 pVTab = sqlite3GetVTable(db, pTab);
77243 if( pVTab->pVtab->pModule->xRename==0 ){
77244 pVTab = 0;
77258 sqlite3BeginWriteOperation(pParse, pVTab!=0, iDb);
77267 if( pVTab ){
77270 sqlite3VdbeAddOp4(v, OP_VRename, i, 0, 0,(const char*)pVTab, P4_VTAB);
83801 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
83803 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iRowid, pVTab, P4_VTAB);
87021 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
87040 if( pOp->opcode==OP_VOpen && pOp->p4.pVtab==pVTab ){
87849 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
87851 sqlite3VdbeAddOp4(v, OP_VUpdate, 1, pTab->nCol+2, regIns, pVTab, P4_VTAB);
98874 const char *pVTab = (const char*)sqlite3GetVTable(db, pTab);
98919 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, pTab->nCol+2, iReg, pVTab, P4_VTAB);
99383 SQLITE_PRIVATE void sqlite3VtabLock(VTable *pVTab){
99384 pVTab->nRef++;
99404 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *pVTab){
99405 sqlite3 *db = pVTab->db;
99408 assert( pVTab->nRef>0 );
99411 pVTab->nRef--;
99412 if( pVTab->nRef==0 ){
99413 sqlite3_vtab *p = pVTab->pVtab;
99417 sqlite3DbFree(db, pVTab);
99880 ** Add the virtual table pVTab to the array sqlite3.aVTrans[]. Space should
99883 static void addToVTrans(sqlite3 *db, VTable *pVTab){
99885 db->aVTrans[db->nVTrans++] = pVTab;
99886 sqlite3VtabLock(pVTab);
100036 VTable *pVTab = db->aVTrans[i];
100037 sqlite3_vtab *p = pVTab->pVtab;
100043 pVTab->iSavepoint = 0;
100044 sqlite3VtabUnlock(pVTab);
100106 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab){
100118 if( !pVTab ){
100121 pModule = pVTab->pVtab->pModule;
100128 if( db->aVTrans[i]==pVTab ){
100137 rc = pModule->xBegin(pVTab->pVtab);
100139 addToVTrans(db, pVTab);
100169 VTable *pVTab = db->aVTrans[i];
100170 const sqlite3_module *pMod = pVTab->pMod->pModule;
100176 pVTab->iSavepoint = iSavepoint+1;
100185 if( xMethod && pVTab->iSavepoint>iSavepoint ){
105293 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
105295 sqlite3VdbeAddOp4(v, OP_VOpen, iCur, 0, 0, pVTab, P4_VTAB);
115436 static int fts3BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
115437 Fts3Table *p = (Fts3Table *)pVTab;
115506 static int fts3OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
115509 UNUSED_PARAMETER(pVTab);
119197 sqlite3_vtab *pVTab,
119205 UNUSED_PARAMETER(pVTab);
119252 static int fts3auxOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
119255 UNUSED_PARAMETER(pVTab);
127831 static int rtreeOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
127838 pCsr->base.pVtab = pVTab;