Lines Matching refs:pVTab

5427   int (*xBestIndex)(sqlite3_vtab *pVTab, sqlite3_index_info*);
5428 int (*xDisconnect)(sqlite3_vtab *pVTab);
5429 int (*xDestroy)(sqlite3_vtab *pVTab);
5430 int (*xOpen)(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor);
5439 int (*xBegin)(sqlite3_vtab *pVTab);
5440 int (*xSync)(sqlite3_vtab *pVTab);
5441 int (*xCommit)(sqlite3_vtab *pVTab);
5442 int (*xRollback)(sqlite3_vtab *pVTab);
5449 int (*xSavepoint)(sqlite3_vtab *pVTab, int);
5450 int (*xRelease)(sqlite3_vtab *pVTab, int);
5451 int (*xRollbackTo)(sqlite3_vtab *pVTab, int);
73970 VTable *pVTab;
73971 pVTab = pOp->p4.pVtab;
73972 rc = sqlite3VtabBegin(db, pVTab);
73973 if( pVTab ) sqlite3VtabImportErrmsg(p, pVTab->pVtab);
82990 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
83046 pVTab = sqlite3GetVTable(db, pTab);
83047 if( pVTab->pVtab->pModule->xRename==0 ){
83048 pVTab = 0;
83062 sqlite3BeginWriteOperation(pParse, pVTab!=0, iDb);
83071 if( pVTab ){
83074 sqlite3VdbeAddOp4(v, OP_VRename, i, 0, 0,(const char*)pVTab, P4_VTAB);
91331 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
91333 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
94945 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
94964 if( pOp->opcode==OP_VOpen && pOp->p4.pVtab==pVTab ){
95735 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
95737 sqlite3VdbeAddOp4(v, OP_VUpdate, 1, pTab->nCol+2, regIns, pVTab, P4_VTAB);
108903 const char *pVTab = (const char*)sqlite3GetVTable(db, pTab);
108948 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, pTab->nCol+2, iReg, pVTab, P4_VTAB);
109438 SQLITE_PRIVATE void sqlite3VtabLock(VTable *pVTab){
109439 pVTab->nRef++;
109459 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *pVTab){
109460 sqlite3 *db = pVTab->db;
109463 assert( pVTab->nRef>0 );
109466 pVTab->nRef--;
109467 if( pVTab->nRef==0 ){
109468 sqlite3_vtab *p = pVTab->pVtab;
109472 sqlite3DbFree(db, pVTab);
109518 ** list in p->pVTab. It also decrements the VTable ref count. This is
109532 VTable *pVTab = *ppVTab;
109533 *ppVTab = pVTab->pNext;
109534 sqlite3VtabUnlock(pVTab);
109966 ** Add the virtual table pVTab to the array sqlite3.aVTrans[]. Space should
109969 static void addToVTrans(sqlite3 *db, VTable *pVTab){
109971 db->aVTrans[db->nVTrans++] = pVTab;
109972 sqlite3VtabLock(pVTab);
110123 VTable *pVTab = db->aVTrans[i];
110124 sqlite3_vtab *p = pVTab->pVtab;
110130 pVTab->iSavepoint = 0;
110131 sqlite3VtabUnlock(pVTab);
110190 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab){
110202 if( !pVTab ){
110205 pModule = pVTab->pVtab->pModule;
110212 if( db->aVTrans[i]==pVTab ){
110221 rc = pModule->xBegin(pVTab->pVtab);
110223 addToVTrans(db, pVTab);
110253 VTable *pVTab = db->aVTrans[i];
110254 const sqlite3_module *pMod = pVTab->pMod->pModule;
110255 if( pVTab->pVtab && pMod->iVersion>=2 ){
110260 pVTab->iSavepoint = iSavepoint+1;
110269 if( xMethod && pVTab->iSavepoint>iSavepoint ){
110270 rc = xMethod(pVTab->pVtab, iSavepoint);
117160 const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
117162 sqlite3VdbeAddOp4(v, OP_VOpen, iCur, 0, 0, pVTab, P4_VTAB);
128328 static int fts3BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
128329 Fts3Table *p = (Fts3Table *)pVTab;
128450 static int fts3OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
128453 UNUSED_PARAMETER(pVTab);
132784 sqlite3_vtab *pVTab,
132794 UNUSED_PARAMETER(pVTab);
132853 static int fts3auxOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
132856 UNUSED_PARAMETER(pVTab);
136477 sqlite3_vtab *pVTab,
136481 UNUSED_PARAMETER(pVTab);
136505 static int fts3tokOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
136507 UNUSED_PARAMETER(pVTab);
145493 static int rtreeOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
145500 pCsr->base.pVtab = pVTab;