Lines Matching defs:Schema
6687 ** CAPI3REF: Return The Schema Name For A Database Connection
7741 ** CAPI3REF: Declare The Schema Of A Virtual Table
10566 ** <li> Schema S of [database connection] D must be a [WAL mode] database.
14758 typedef struct Schema Schema;
15822 SQLITE_PRIVATE int sqlite3SchemaMutexHeld(sqlite3*,int,Schema*);
16793 Schema *pSchema; /* Pointer to database schema (possibly shared) */
16799 ** Most Schema objects are associated with a Btree. The exception is
16800 ** the Schema for the TEMP databaes (sqlite3.aDb[1]) which is free-standing.
16801 ** In shared cache mode, a single Schema object can be shared by multiple
16804 ** Schema objects are automatically deallocated when the last Btree that
16805 ** references them is destroyed. The TEMP Schema is manually freed by
16809 ** to access Schema content. This implies that the thread must also be
16811 ** For a TEMP Schema, only the connection mutex is required.
16813 struct Schema {
16821 u8 file_format; /* Schema format version for this file */
17235 #define DBFLAG_SchemaKnownOk 0x0010 /* Schema is known to be valid */
17788 Schema *pSchema; /* Schema that contains this table */
17898 ** is held in Schema.fkeyHash with a hash key of Z.
18092 Schema *pSchema; /* Schema containing this index */
18591 Schema *pSchema; /* Schema to which this item is fixed */
19318 Schema *pSchema; /* Schema containing the trigger */
19319 Schema *pTabSchema; /* Schema containing the table */
19593 Schema *pSchema; /* Fix items to this schema */
20400 SQLITE_PRIVATE void sqlite3AuthRead(Parse*,Expr*,Schema*,SrcList*);
20599 SQLITE_PRIVATE Schema *sqlite3SchemaGet(sqlite3 *, Btree *);
20600 SQLITE_PRIVATE int sqlite3SchemaToIndex(sqlite3 *db, Schema *);
22932 Table *pTab; /* Schema object being upated */
23399 Schema *pSchema = db->aDb[i].pSchema;
67638 ** 40 4 Schema cookie
68534 SQLITE_PRIVATE int sqlite3SchemaMutexHeld(sqlite3 *db, int iDb, Schema *pSchema){
68803 Schema *pSchema = (Schema *)pBtree->pBt->pSchema;
102751 Schema *pSchema;
103923 Schema *pSchema = 0; /* Schema of the expression */
112621 const char *zDb, /* Schema holding the table */
115950 Schema *pSchema = db->aDb[iDb].pSchema; /* Schema of database iDb */
116478 Schema *pSchema = db->aDb[iDb].pSchema;
117297 char *zDb = db->aDb[iDb].zDbSName; /* Schema name of attached database */
117329 Schema *pSchema, /* The schema of the expression */
117671 Schema *pSchema;
118004 Schema *pSchema = db->aDb[j].pSchema;
120391 Schema *pSchema = p->pSchema;
123637 ** at a Schema struct. This function does not call sqlite3DbFree(db, ) on the
123641 ** The Schema.cache_size variable is not cleared.
123647 Schema *pSchema = (Schema *)p;
123677 SQLITE_PRIVATE Schema *sqlite3SchemaGet(sqlite3 *db, Btree *pBt){
123678 Schema * p;
123680 p = (Schema *)sqlite3BtreeSchema(pBt, sizeof(Schema), sqlite3SchemaClear);
123682 p = (Schema *)sqlite3DbMallocZero(0, sizeof(Schema));
128558 ** table pTab. Remove the deleted foreign keys from the Schema.fkeyHash
133628 #define PragFlg_SchemaOpt 0x40 /* Schema restricts name search if present */
133629 #define PragFlg_SchemaReq 0x80 /* Schema required - "main" is default */
136584 Schema *pSchema; /* The current schema */
137415 ** meta[0] Schema cookie. Changes with each schema change.
137684 SQLITE_PRIVATE int sqlite3SchemaToIndex(sqlite3 *db, Schema *pSchema){
144164 const char *zSchemaName = 0; /* Schema name for this data source */
144165 int iDb; /* Schema index for this data src */
146413 Schema *pTmpSchema; /* Schema of the pTab table */
147225 Schema *pSchema = pStep->pTrig->pSchema;
149672 const char *zDbMain; /* Schema name of database to vacuum */
150205 ** objects without disturbing the rest of the Schema object (which may
150449 Schema *pSchema = pTab->pSchema;
174593 Schema *pSchema = db->aDb[i].pSchema;
175860 int iDb; /* Schema to checkpoint */
185807 ** Schema of the terms table.
189570 ** Schema of the tokenizer table.
205253 rtreeCheckAppendMsg(&check, "Schema corrupt or not an rtree");
214307 int iDb; /* Schema used for this query */