• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/Heimdal-398.1.2/lib/sqlite/

Lines Matching refs:pVtab

5346   int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
5349 int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
5533 sqlite3_vtab *pVtab; /* Virtual table of this cursor */
8225 VTable *pVtab; /* Used when p4type is P4_VTAB */
9883 sqlite3_vtab *pVtab; /* Pointer to vtab instance */
59237 sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab;
59238 sqlite3_snprintf(nTemp, zTemp, "vtab:%p:%p", pVtab, pVtab->pModule);
63608 static void importVtabErrMsg(Vdbe *p, sqlite3_vtab *pVtab){
63611 p->zErrMsg = sqlite3DbStrDup(db, pVtab->zErrMsg);
63612 sqlite3_free(pVtab->zErrMsg);
63613 pVtab->zErrMsg = 0;
63919 sqlite3_vtab *pVtab;
64046 sqlite3_vtab *pVtab;
64056 sqlite3_vtab *pVtab;
64063 sqlite3_vtab *pVtab;
64069 sqlite3_vtab *pVtab;
64075 sqlite3_vtab *pVtab;
64079 sqlite3_vtab *pVtab;
67823 sqlite3_vtab *pVtab;
67838 u.bl.pVtab = u.bl.pC->pVtabCursor->pVtab;
67839 u.bl.pModule = u.bl.pVtab->pModule;
67842 importVtabErrMsg(p, u.bl.pVtab);
69265 u.cj.pVTab = pOp->p4.pVtab;
69267 if( u.cj.pVTab ) importVtabErrMsg(p, u.cj.pVTab->pVtab);
69309 sqlite3_vtab *pVtab;
69315 u.ck.pVtab = pOp->p4.pVtab->pVtab;
69316 u.ck.pModule = (sqlite3_module *)u.ck.pVtab->pModule;
69317 assert(u.ck.pVtab && u.ck.pModule);
69318 rc = u.ck.pModule->xOpen(u.ck.pVtab, &u.ck.pVtabCursor);
69319 importVtabErrMsg(p, u.ck.pVtab);
69322 u.ck.pVtabCursor->pVtab = u.ck.pVtab;
69328 u.ck.pCur->pModule = u.ck.pVtabCursor->pVtab->pModule;
69365 sqlite3_vtab *pVtab;
69379 u.cl.pVtab = u.cl.pVtabCursor->pVtab;
69380 u.cl.pModule = u.cl.pVtab->pModule;
69399 importVtabErrMsg(p, u.cl.pVtab);
69423 sqlite3_vtab *pVtab;
69438 u.cm.pVtab = pCur->pVtabCursor->pVtab;
69439 u.cm.pModule = u.cm.pVtab->pModule;
69452 importVtabErrMsg(p, u.cm.pVtab);
69482 sqlite3_vtab *pVtab;
69494 u.cn.pVtab = u.cn.pCur->pVtabCursor->pVtab;
69495 u.cn.pModule = u.cn.pVtab->pModule;
69507 importVtabErrMsg(p, u.cn.pVtab);
69529 sqlite3_vtab *pVtab;
69533 u.co.pVtab = pOp->p4.pVtab->pVtab;
69535 assert( u.co.pVtab->pModule->xRename );
69539 rc = u.co.pVtab->pModule->xRename(u.co.pVtab, u.co.pName->z);
69540 importVtabErrMsg(p, u.co.pVtab);
69573 sqlite3_vtab *pVtab;
69585 u.cp.pVtab = pOp->p4.pVtab->pVtab;
69586 u.cp.pModule = (sqlite3_module *)u.cp.pVtab->pModule;
69601 rc = u.cp.pModule->xUpdate(u.cp.pVtab, u.cp.nArg, u.cp.apArg, &u.cp.rowid);
69603 importVtabErrMsg(p, u.cp.pVtab);
69608 if( rc==SQLITE_CONSTRAINT && pOp->p4.pVtab->bConstraint ){
77243 if( pVTab->pVtab->pModule->xRename==0 ){
87040 if( pOp->opcode==OP_VOpen && pOp->p4.pVtab==pVTab ){
87041 assert( pOp->p4.pVtab!=0 );
99394 VTable *pVtab;
99396 for(pVtab=pTab->pVTable; pVtab && pVtab->db!=db; pVtab=pVtab->pNext);
99397 return pVtab;
99413 sqlite3_vtab *p = pVTab->pVtab;
99752 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr);
99764 }else if( ALWAYS(pVTable->pVtab) ){
99767 pVTable->pVtab->pModule = pMod->pModule;
99884 /* Add pVtab to the end of sqlite3.aVTrans */
100010 rc = p->pMod->pModule->xDestroy(p->pVtab);
100015 p->pVtab = 0;
100037 sqlite3_vtab *p = pVTab->pVtab;
100068 sqlite3_vtab *pVtab = aVTrans[i]->pVtab;
100069 if( pVtab && (x = pVtab->pModule->xSync)!=0 ){
100070 rc = x(pVtab);
100072 *pzErrmsg = sqlite3DbStrDup(db, pVtab->zErrMsg);
100073 sqlite3_free(pVtab->zErrMsg);
100099 ** If the virtual table pVtab supports the transaction interface
100121 pModule = pVTab->pVtab->pModule;
100126 /* If pVtab is already in the aVTrans array, return early */
100137 rc = pModule->xBegin(pVTab->pVtab);
100186 rc = xMethod(db->aVTrans[i]->pVtab, iSavepoint);
100214 sqlite3_vtab *pVtab;
100230 pVtab = sqlite3GetVTable(db, pTab)->pVtab;
100231 assert( pVtab!=0 );
100232 assert( pVtab->pModule!=0 );
100233 pMod = (sqlite3_module *)pVtab->pModule;
100244 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg);
102588 sqlite3_vtab *pVtab = sqlite3GetVTable(pParse->db, pTab)->pVtab;
102594 rc = pVtab->pModule->xBestIndex(pVtab, p);
102600 }else if( !pVtab->zErrMsg ){
102603 sqlite3ErrorMsg(pParse, "%s", pVtab->zErrMsg);
102606 sqlite3_free(pVtab->zErrMsg);
102607 pVtab->zErrMsg = 0;
114674 static int fts3DisconnectMethod(sqlite3_vtab *pVtab){
114675 Fts3Table *p = (Fts3Table *)pVtab;
114726 static int fts3DestroyMethod(sqlite3_vtab *pVtab){
114728 Fts3Table *p = (Fts3Table *)pVtab;
114742 return (rc==SQLITE_OK ? fts3DisconnectMethod(pVtab) : rc);
115529 assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 );
115535 assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 );
116699 Fts3Table *p = (Fts3Table *)pCsr->base.pVtab;
116844 assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 );
116873 Fts3Table *p = (Fts3Table *)pCursor->pVtab;
116984 Fts3Table *p = (Fts3Table *)pCursor->pVtab;
117006 assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 );
117016 sqlite3_vtab *pVtab, /* Virtual table handle */
117021 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
117028 static int fts3SyncMethod(sqlite3_vtab *pVtab){
117029 int rc = sqlite3Fts3PendingTermsFlush((Fts3Table *)pVtab);
117030 sqlite3Fts3SegmentsClose((Fts3Table *)pVtab);
117037 static int fts3BeginMethod(sqlite3_vtab *pVtab){
117038 TESTONLY( Fts3Table *p = (Fts3Table*)pVtab );
117039 UNUSED_PARAMETER(pVtab);
117053 static int fts3CommitMethod(sqlite3_vtab *pVtab){
117054 TESTONLY( Fts3Table *p = (Fts3Table*)pVtab );
117055 UNUSED_PARAMETER(pVtab);
117068 static int fts3RollbackMethod(sqlite3_vtab *pVtab){
117069 Fts3Table *p = (Fts3Table*)pVtab;
117209 p = (Fts3Table *)pCursor->base.pVtab;
117251 sqlite3_vtab *pVtab, /* Virtual table handle */
117268 UNUSED_PARAMETER(pVtab);
117287 sqlite3_vtab *pVtab, /* Virtual table handle */
117290 Fts3Table *p = (Fts3Table *)pVtab;
117331 static int fts3SavepointMethod(sqlite3_vtab *pVtab, int iSavepoint){
117333 assert( ((Fts3Table *)pVtab)->inTransaction );
117334 assert( ((Fts3Table *)pVtab)->mxSavepoint < iSavepoint );
117335 TESTONLY( ((Fts3Table *)pVtab)->mxSavepoint = iSavepoint );
117336 return fts3SyncMethod(pVtab);
117344 static int fts3ReleaseMethod(sqlite3_vtab *pVtab, int iSavepoint){
117345 TESTONLY( Fts3Table *p = (Fts3Table*)pVtab );
117347 UNUSED_PARAMETER(pVtab);
117359 static int fts3RollbackToMethod(sqlite3_vtab *pVtab, int iSavepoint){
117360 Fts3Table *p = (Fts3Table*)pVtab;
117627 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
117769 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
117872 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
118060 Fts3Table *p = (Fts3Table*)pCsr->base.pVtab;
118113 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
118224 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
118838 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
118947 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
118996 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
119175 static int fts3auxDisconnectMethod(sqlite3_vtab *pVtab){
119176 Fts3auxTable *p = (Fts3auxTable *)pVtab;
119269 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
119302 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
119402 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
123571 Fts3Table *p = (Fts3Table*)pCsr->base.pVtab;
125247 Fts3Table *p = (Fts3Table *)pCsr->base.pVtab;
125383 sqlite3_vtab *pVtab, /* FTS3 vtab object */
125388 Fts3Table *p = (Fts3Table *)pVtab;
126136 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
126540 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
126640 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
126712 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
126854 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
126992 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
127796 static int rtreeDisconnect(sqlite3_vtab *pVtab){
127797 rtreeRelease((Rtree *)pVtab);
127804 static int rtreeDestroy(sqlite3_vtab *pVtab){
127805 Rtree *pRtree = (Rtree *)pVtab;
127838 pCsr->base.pVtab = pVTab;
127869 Rtree *pRtree = (Rtree *)(cur->pVtab);
128114 Rtree *pRtree = (Rtree *)(pVtabCursor->pVtab);
128159 Rtree *pRtree = (Rtree *)pVtabCursor->pVtab;
128172 Rtree *pRtree = (Rtree *)cur->pVtab;
128267 Rtree *pRtree = (Rtree *)pVtabCursor->pVtab;
129745 sqlite3_vtab *pVtab,
129750 Rtree *pRtree = (Rtree *)pVtab;
129862 static int rtreeRename(sqlite3_vtab *pVtab, const char *zNewName){
129863 Rtree *pRtree = (Rtree *)pVtab;