Lines Matching defs:VTable
15392 typedef struct VTable VTable;
16503 VTable *pVtab; /* Used when p4type is P4_VTAB */
17743 VTable **aVTrans; /* Virtual tables with open transactions */
17744 VTable *pDisconnect; /* Disconnect these in next sqlite3_prepare() */
18345 ** All VTable objects that correspond to a single table in a shared
18349 ** table, it searches the list for the VTable that corresponds to the
18354 ** schema is being reloaded for some reason), the VTable objects are not
18366 ** sqlite3DbMalloc(), using the connection handle stored in VTable.db as
18369 struct VTable {
18378 VTable *pNext; /* Next in linked list (see above) */
18381 /* Allowed values for VTable.eVtabRisk
18424 VTable *p; /* List of VTable objects. */
21473 # define sqlite3GetVTable(X,Y) ((VTable*)0)
21480 SQLITE_PRIVATE void sqlite3VtabLock(VTable *);
21481 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *);
21486 SQLITE_PRIVATE VTable *sqlite3GetVTable(sqlite3*, Table*);
21516 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *, VTable *);
86246 if( db->pnBytesFreed==0 ) sqlite3VtabUnlock((VTable *)p4);
86422 if( n==P4_VTAB ) sqlite3VtabLock((VTable*)zP4);
101216 VTable *pVTab;
116279 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
133127 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
155417 VTable *pVTable; /* The virtual table being constructed */
155574 SQLITE_PRIVATE void sqlite3VtabLock(VTable *pVTab){
155581 ** Return a pointer to the VTable object used by connection db to access
155584 SQLITE_PRIVATE VTable *sqlite3GetVTable(sqlite3 *db, Table *pTab){
155585 VTable *pVtab;
155595 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *pVTab){
155621 static VTable *vtabDisconnectAll(sqlite3 *db, Table *p){
155622 VTable *pRet = 0;
155623 VTable *pVTable;
155639 VTable *pNext = pVTable->pNext;
155657 ** Table *p is a virtual table. This function removes the VTable object
155659 ** list in p->pVTab. It also decrements the VTable ref count. This is
155660 ** used when closing database connection db to free all of its VTable
155665 VTable **ppVTab;
155673 VTable *pVTab = *ppVTab;
155693 ** 2) By function vtabDisconnectAll(), when it adds a VTable entry to
155703 VTable *p = db->pDisconnect;
155711 VTable *pNext = p->pNext;
155724 ** to the head of a linked list of VTable structures. Each VTable
155726 ** The reference count of the VTable structure associated with database
155728 ** structure being xDisconnected and free). Any other VTable structures
155956 VTable *pVTable;
155983 pVTable = sqlite3MallocZero(sizeof(VTable));
156036 /* If everything went according to plan, link the new VTable structure
156129 VTable **aVTrans;
156147 static void addToVTrans(sqlite3 *db, VTable *pVTab){
156323 VTable *p;
156361 VTable **aVTrans = db->aVTrans;
156364 VTable *pVTab = aVTrans[i];
156389 VTable **aVTrans = db->aVTrans;
156430 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab){
156498 VTable *pVTab = db->aVTrans[i];