Lines Matching defs:VTable
8161 typedef struct VTable VTable;
8479 VTable *pVtab; /* Used when p4type is P4_VTAB */
9788 VTable **aVTrans; /* Virtual tables with open transactions */
9789 VTable *pDisconnect; /* Disconnect these in next sqlite3_prepare() */
10110 ** All VTable objects that correspond to a single table in a shared
10114 ** table, it searches the list for the VTable that corresponds to the
10119 ** schema is being reloaded for some reason), the VTable objects are not
10131 ** sqlite3DbMalloc(), using the connection handle stored in VTable.db as
10134 struct VTable {
10141 VTable *pNext; /* Next in linked list (see above) */
10195 VTable *pVTable; /* List of VTable objects. */
12002 # define sqlite3GetVTable(X,Y) ((VTable*)0)
12008 SQLITE_PRIVATE void sqlite3VtabLock(VTable *);
12009 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *);
12012 SQLITE_PRIVATE VTable *sqlite3GetVTable(sqlite3*, Table*);
12023 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *, VTable *);
60145 if( db->pnBytesFreed==0 ) sqlite3VtabUnlock((VTable *)p4);
60273 sqlite3VtabLock((VTable *)zP4);
60274 assert( ((VTable *)zP4)->db==p->db );
65366 VTable *pVTab;
70624 VTable *pVTab;
78840 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
89103 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
101489 VTable *pVTable;
101569 SQLITE_PRIVATE void sqlite3VtabLock(VTable *pVTab){
101576 ** Return a pointer to the VTable object used by connection db to access
101579 SQLITE_PRIVATE VTable *sqlite3GetVTable(sqlite3 *db, Table *pTab){
101580 VTable *pVtab;
101590 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *pVTab){
101614 static VTable *vtabDisconnectAll(sqlite3 *db, Table *p){
101615 VTable *pRet = 0;
101616 VTable *pVTable = p->pVTable;
101629 VTable *pNext = pVTable->pNext;
101658 ** 2) By function vtabDisconnectAll(), when it adds a VTable entry to
101668 VTable *p = db->pDisconnect;
101677 VTable *pNext = p->pNext;
101690 ** to the head of a linked list of VTable structures. Each VTable
101692 ** The reference count of the VTable structure associated with database
101694 ** structure being xDisconnected and free). Any other VTable structures
101914 VTable *pVTable;
101925 pVTable = sqlite3DbMallocZero(db, sizeof(VTable));
101945 *pzErr = sqlite3MPrintf(db, "vtable constructor failed: %s", zModuleName);
101957 const char *zFormat = "vtable constructor did not declare schema: %s";
101963 /* If everything went according to plan, link the new VTable structure
102053 VTable **aVTrans;
102070 static void addToVTrans(sqlite3 *db, VTable *pVTab){
102194 VTable *p = vtabDisconnectAll(db, pTab);
102223 VTable *pVTab = db->aVTrans[i];
102250 VTable **aVTrans = db->aVTrans;
102293 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab){
102356 VTable *pVTab = db->aVTrans[i];