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);
86544 VTable *pVTab;
86545 pVTab = pOp->p4.pVtab;
86546 rc = sqlite3VtabBegin(db, pVTab);
86547 if( pVTab ) sqlite3VtabImportErrmsg(p, pVTab->pVtab);
98440 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
98496 pVTab = sqlite3GetVTable(db, pTab);
98497 if( pVTab->pVtab->pModule->xRename==0 ){
98498 pVTab = 0;
98512 sqlite3BeginWriteOperation(pParse, pVTab!=0, iDb);
98521 if( pVTab ){
98524 sqlite3VdbeAddOp4(v, OP_VRename, i, 0, 0,(const char*)pVTab, P4_VTAB);
107133 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
107135 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
111023 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
111042 if( pOp->opcode==OP_VOpen && pOp->p4.pVtab==pVTab ){
111842 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
111844 sqlite3VdbeAddOp4(v, OP_VUpdate, 1, pTab->nCol+2, regIns, pVTab, P4_VTAB);
126893 const char *pVTab = (const char*)sqlite3GetVTable(db, pTab);
126984 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, nArg, regArg, pVTab, P4_VTAB);
127509 SQLITE_PRIVATE void sqlite3VtabLock(VTable *pVTab){
127510 pVTab->nRef++;
127530 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *pVTab){
127531 sqlite3 *db = pVTab->db;
127534 assert( pVTab->nRef>0 );
127537 pVTab->nRef--;
127538 if( pVTab->nRef==0 ){
127539 sqlite3_vtab *p = pVTab->pVtab;
127543 sqlite3DbFree(db, pVTab);
127603 VTable *pVTab = *ppVTab;
127604 *ppVTab = pVTab->pNext;
127605 sqlite3VtabUnlock(pVTab);
128058 static void addToVTrans(sqlite3 *db, VTable *pVTab){
128060 db->aVTrans[db->nVTrans++] = pVTab;
128061 sqlite3VtabLock(pVTab);
128242 VTable *pVTab = aVTrans[i];
128243 sqlite3_vtab *p = pVTab->pVtab;
128249 pVTab->iSavepoint = 0;
128250 sqlite3VtabUnlock(pVTab);
128308 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab){
128320 if( !pVTab ){
128323 pModule = pVTab->pVtab->pModule;
128330 if( db->aVTrans[i]==pVTab ){
128339 rc = pModule->xBegin(pVTab->pVtab);
128342 addToVTrans(db, pVTab);
128344 pVTab->iSavepoint = iSvpt;
128345 rc = pModule->xSavepoint(pVTab->pVtab, iSvpt-1);
128376 VTable *pVTab = db->aVTrans[i];
128377 const sqlite3_module *pMod = pVTab->pMod->pModule;
128378 if( pVTab->pVtab && pMod->iVersion>=2 ){
128383 pVTab->iSavepoint = iSavepoint+1;
128392 if( xMethod && pVTab->iSavepoint>iSavepoint ){
128393 rc = xMethod(pVTab->pVtab, iSavepoint);
137781 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
137783 sqlite3VdbeAddOp4(v, OP_VOpen, iCur, 0, 0, pVTab, P4_VTAB);
150361 static int fts3BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
150362 Fts3Table *p = (Fts3Table *)pVTab;
150486 static int fts3OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
150489 UNUSED_PARAMETER(pVTab);
154937 sqlite3_vtab *pVTab,
154947 UNUSED_PARAMETER(pVTab);
155006 static int fts3auxOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
155009 UNUSED_PARAMETER(pVTab);
158693 sqlite3_vtab *pVTab,
158697 UNUSED_PARAMETER(pVTab);
158721 static int fts3tokOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
158723 UNUSED_PARAMETER(pVTab);
168057 static int rtreeOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
168059 Rtree *pRtree = (Rtree *)pVTab;
168065 pCsr->base.pVtab = pVTab;
177913 static int statOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
177914 StatTable *pTab = (StatTable *)pVTab;
177922 pCsr->base.pVtab = pVTab;
178546 static int dbpageOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
178554 pCsr->base.pVtab = pVTab;
201295 static int fts5BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
201296 Fts5Table *pTab = (Fts5Table*)pVTab;
201411 static int fts5OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
201412 Fts5Table *pTab = (Fts5Table*)pVTab;
206943 sqlite3_vtab *pVTab,
206946 Fts5VocabTable *pTab = (Fts5VocabTable*)pVTab;
206974 pVTab->zErrMsg = sqlite3_mprintf(