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 *);
60173 if( db->pnBytesFreed==0 ) sqlite3VtabUnlock((VTable *)p4);
60301 sqlite3VtabLock((VTable *)zP4);
60302 assert( ((VTable *)zP4)->db==p->db );
65394 VTable *pVTab;
70652 VTable *pVTab;
78876 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
89139 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
101525 VTable *pVTable;
101605 SQLITE_PRIVATE void sqlite3VtabLock(VTable *pVTab){
101612 ** Return a pointer to the VTable object used by connection db to access
101615 SQLITE_PRIVATE VTable *sqlite3GetVTable(sqlite3 *db, Table *pTab){
101616 VTable *pVtab;
101626 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *pVTab){
101650 static VTable *vtabDisconnectAll(sqlite3 *db, Table *p){
101651 VTable *pRet = 0;
101652 VTable *pVTable = p->pVTable;
101665 VTable *pNext = pVTable->pNext;
101694 ** 2) By function vtabDisconnectAll(), when it adds a VTable entry to
101704 VTable *p = db->pDisconnect;
101713 VTable *pNext = p->pNext;
101726 ** to the head of a linked list of VTable structures. Each VTable
101728 ** The reference count of the VTable structure associated with database
101730 ** structure being xDisconnected and free). Any other VTable structures
101950 VTable *pVTable;
101961 pVTable = sqlite3DbMallocZero(db, sizeof(VTable));
101981 *pzErr = sqlite3MPrintf(db, "vtable constructor failed: %s", zModuleName);
101993 const char *zFormat = "vtable constructor did not declare schema: %s";
101999 /* If everything went according to plan, link the new VTable structure
102089 VTable **aVTrans;
102106 static void addToVTrans(sqlite3 *db, VTable *pVTab){
102230 VTable *p = vtabDisconnectAll(db, pTab);
102259 VTable *pVTab = db->aVTrans[i];
102286 VTable **aVTrans = db->aVTrans;
102329 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab){
102392 VTable *pVTab = db->aVTrans[i];