Lines Matching refs:pVTab
7142 int (*xBestIndex)(sqlite3_vtab *pVTab, sqlite3_index_info*);
7143 int (*xDisconnect)(sqlite3_vtab *pVTab);
7144 int (*xDestroy)(sqlite3_vtab *pVTab);
7145 int (*xOpen)(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor);
7154 int (*xBegin)(sqlite3_vtab *pVTab);
7155 int (*xSync)(sqlite3_vtab *pVTab);
7156 int (*xCommit)(sqlite3_vtab *pVTab);
7157 int (*xRollback)(sqlite3_vtab *pVTab);
7164 int (*xSavepoint)(sqlite3_vtab *pVTab, int);
7165 int (*xRelease)(sqlite3_vtab *pVTab, int);
7166 int (*xRollbackTo)(sqlite3_vtab *pVTab, int);
86528 VTable *pVTab;
86529 pVTab = pOp->p4.pVtab;
86530 rc = sqlite3VtabBegin(db, pVTab);
86531 if( pVTab ) sqlite3VtabImportErrmsg(p, pVTab->pVtab);
98424 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
98480 pVTab = sqlite3GetVTable(db, pTab);
98481 if( pVTab->pVtab->pModule->xRename==0 ){
98482 pVTab = 0;
98496 sqlite3BeginWriteOperation(pParse, pVTab!=0, iDb);
98505 if( pVTab ){
98508 sqlite3VdbeAddOp4(v, OP_VRename, i, 0, 0,(const char*)pVTab, P4_VTAB);
107117 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
107119 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
111007 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
111026 if( pOp->opcode==OP_VOpen && pOp->p4.pVtab==pVTab ){
111826 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
111828 sqlite3VdbeAddOp4(v, OP_VUpdate, 1, pTab->nCol+2, regIns, pVTab, P4_VTAB);
126877 const char *pVTab = (const char*)sqlite3GetVTable(db, pTab);
126968 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, nArg, regArg, pVTab, P4_VTAB);
127493 SQLITE_PRIVATE void sqlite3VtabLock(VTable *pVTab){
127494 pVTab->nRef++;
127514 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *pVTab){
127515 sqlite3 *db = pVTab->db;
127518 assert( pVTab->nRef>0 );
127521 pVTab->nRef--;
127522 if( pVTab->nRef==0 ){
127523 sqlite3_vtab *p = pVTab->pVtab;
127527 sqlite3DbFree(db, pVTab);
127587 VTable *pVTab = *ppVTab;
127588 *ppVTab = pVTab->pNext;
127589 sqlite3VtabUnlock(pVTab);
128042 static void addToVTrans(sqlite3 *db, VTable *pVTab){
128044 db->aVTrans[db->nVTrans++] = pVTab;
128045 sqlite3VtabLock(pVTab);
128226 VTable *pVTab = aVTrans[i];
128227 sqlite3_vtab *p = pVTab->pVtab;
128233 pVTab->iSavepoint = 0;
128234 sqlite3VtabUnlock(pVTab);
128292 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab){
128304 if( !pVTab ){
128307 pModule = pVTab->pVtab->pModule;
128314 if( db->aVTrans[i]==pVTab ){
128323 rc = pModule->xBegin(pVTab->pVtab);
128326 addToVTrans(db, pVTab);
128328 pVTab->iSavepoint = iSvpt;
128329 rc = pModule->xSavepoint(pVTab->pVtab, iSvpt-1);
128360 VTable *pVTab = db->aVTrans[i];
128361 const sqlite3_module *pMod = pVTab->pMod->pModule;
128362 if( pVTab->pVtab && pMod->iVersion>=2 ){
128367 pVTab->iSavepoint = iSavepoint+1;
128376 if( xMethod && pVTab->iSavepoint>iSavepoint ){
128377 rc = xMethod(pVTab->pVtab, iSavepoint);
137765 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
137767 sqlite3VdbeAddOp4(v, OP_VOpen, iCur, 0, 0, pVTab, P4_VTAB);
150345 static int fts3BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
150346 Fts3Table *p = (Fts3Table *)pVTab;
150470 static int fts3OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
150473 UNUSED_PARAMETER(pVTab);
154909 sqlite3_vtab *pVTab,
154919 UNUSED_PARAMETER(pVTab);
154978 static int fts3auxOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
154981 UNUSED_PARAMETER(pVTab);
158665 sqlite3_vtab *pVTab,
158669 UNUSED_PARAMETER(pVTab);
158693 static int fts3tokOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
158695 UNUSED_PARAMETER(pVTab);
168029 static int rtreeOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
168031 Rtree *pRtree = (Rtree *)pVTab;
168037 pCsr->base.pVtab = pVTab;
177885 static int statOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
177886 StatTable *pTab = (StatTable *)pVTab;
177894 pCsr->base.pVtab = pVTab;
178518 static int dbpageOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
178526 pCsr->base.pVtab = pVTab;
201267 static int fts5BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
201268 Fts5Table *pTab = (Fts5Table*)pVTab;
201383 static int fts5OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
201384 Fts5Table *pTab = (Fts5Table*)pVTab;
206915 sqlite3_vtab *pVTab,
206918 Fts5VocabTable *pTab = (Fts5VocabTable*)pVTab;
206946 pVTab->zErrMsg = sqlite3_mprintf(