Home | History | Annotate | Download | only in amalgamation

Lines Matching refs:VTable

7629 typedef struct VTable VTable;
7945 VTable *pVtab; /* Used when p4type is P4_VTAB */
9233 VTable **aVTrans; /* Virtual tables with open transactions */
9235 VTable *pDisconnect; /* Disconnect these in next sqlite3_prepare() */
9566 ** All VTable objects that correspond to a single table in a shared
9570 ** table, it searches the list for the VTable that corresponds to the
9575 ** schema is being reloaded for some reason), the VTable objects are not
9587 ** sqlite3DbMalloc(), using the connection handle stored in VTable.db as
9590 struct VTable {
9595 VTable *pNext; /* Next in linked list (see above) */
9649 VTable *pVTable; /* List of VTable objects. */
11421 SQLITE_PRIVATE void sqlite3VtabLock(VTable *);
11422 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *);
11434 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *, VTable *);
11443 SQLITE_PRIVATE VTable *sqlite3GetVTable(sqlite3*, Table*);
57931 if( db->pnBytesFreed==0 ) sqlite3VtabUnlock((VTable *)p4);
58062 sqlite3VtabLock((VTable *)zP4);
58063 assert( ((VTable *)zP4)->db==p->db );
63011 VTable *pVTab;
68078 VTable *pVTab;
75082 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
84831 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
97013 SQLITE_PRIVATE void sqlite3VtabLock(VTable *pVTab){
97020 ** Return a pointer to the VTable object used by connection db to access
97023 SQLITE_PRIVATE VTable *sqlite3GetVTable(sqlite3 *db, Table *pTab){
97024 VTable *pVtab;
97034 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *pVTab){
97058 static VTable *vtabDisconnectAll(sqlite3 *db, Table *p){
97059 VTable *pRet = 0;
97060 VTable *pVTable = p->pVTable;
97073 VTable *pNext = pVTable->pNext;
97102 ** 2) By function vtabDisconnectAll(), when it adds a VTable entry to
97112 VTable *p = db->pDisconnect;
97121 VTable *pNext = p->pNext;
97134 ** to the head of a linked list of VTable structures. Each VTable
97136 ** The reference count of the VTable structure associated with database
97138 ** structure being xDisconnected and free). Any other VTable structures
97356 VTable *pVTable;
97367 pVTable = sqlite3DbMallocZero(db, sizeof(VTable));
97385 *pzErr = sqlite3MPrintf(db, "vtable constructor failed: %s", zModuleName);
97397 const char *zFormat = "vtable constructor did not declare schema: %s";
97403 /* If everything went according to plan, link the new VTable structure
97489 static int addToVTrans(sqlite3 *db, VTable *pVTab){
97494 VTable **aVTrans;
97626 VTable *p = vtabDisconnectAll(db, pTab);
97655 VTable *pVTab = db->aVTrans[i];
97681 VTable **aVTrans = db->aVTrans;
97724 SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab){