Lines Matching defs:meta
15572 ** Call it a "virtual meta value".
15583 #define BTREE_DATA_VERSION 15 /* A virtual meta-value */
43734 ** meta-layer over top of the primitive locking implemented above. For
62680 ** meta-data associated with pPg (i.e. data stored in the nExtra bytes
67636 ** 40 60 15 4-byte meta values passed to higher layers
78294 /* Read the value of meta[3] from the database to determine where the
78295 ** root page of the new table should go. meta[3] is the largest root-page
78296 ** created so far, so the new root-page is (meta[3]+1).
78376 /* Update the pointer-map and meta-data with the new root-page number. */
78537 ** The last root page is recorded in meta[3] and the value of
78538 ** meta[3] is updated by this procedure.
78638 ** Read the meta-information out of a database file. Meta[0]
78640 ** through meta[15] are available for use by higher layers. Meta[0]
78643 ** The schema layer numbers meta values differently. At the schema
78651 ** pattern is the same as header meta values, and so it is convenient to
78681 ** Write meta-information back into the database. Meta[0] is
98754 ** whether meta data associated with a user function argument using the
98773 ** whether meta data associated with a user function argument using the
135028 ** "incremental", write the value of meta[6] in the database
135029 ** file. Before writing to meta[6], check that meta[3] indicates
137349 int meta[5];
137412 /* Get the database meta information.
137415 ** meta[0] Schema cookie. Changes with each schema change.
137416 ** meta[1] File format of schema layer.
137417 ** meta[2] Size of the page cache.
137418 ** meta[3] Largest rootpage (auto/incr_vacuum mode)
137419 ** meta[4] Db text encoding. 1:UTF-8 2:UTF-16LE 3:UTF-16BE
137420 ** meta[5] User version
137421 ** meta[6] Incremental vacuum mode
137422 ** meta[7] unused
137423 ** meta[8] unused
137424 ** meta[9] unused
137427 ** the possible values of meta[4].
137429 for(i=0; i<ArraySize(meta); i++){
137430 sqlite3BtreeGetMeta(pDb->pBt, i+1, (u32 *)&meta[i]);
137433 memset(meta, 0, sizeof(meta));
137435 pDb->pSchema->schema_cookie = meta[BTREE_SCHEMA_VERSION-1];
137442 if( meta[BTREE_TEXT_ENCODING-1] ){ /* text encoding */
137447 encoding = (u8)meta[BTREE_TEXT_ENCODING-1] & 3;
137455 if( (meta[BTREE_TEXT_ENCODING-1] & 3)!=ENC(db) ){
137467 size = sqlite3AbsInt32(meta[BTREE_DEFAULT_CACHE_SIZE-1]);
137482 pDb->pSchema->file_format = (u8)meta[BTREE_FILE_FORMAT-1];
137497 if( iDb==0 && meta[BTREE_FILE_FORMAT-1]>=4 ){
137649 ** will be closed immediately after reading the meta-value. */
149853 u32 meta;
149856 /* This array determines which meta meta values are preserved in the
149857 ** vacuum. Even entries are the meta value number and odd entries
149858 ** are an increment to apply to the meta value after the vacuum.
149873 /* Copy Btree meta values */
149877 sqlite3BtreeGetMeta(pMain, aCopy[i], &meta);
149878 rc = sqlite3BtreeUpdateMeta(pTemp, aCopy[i], meta+aCopy[i+1]);
177241 ** Return meta information about a specific column of a database table.
177309 /* The following block stores the meta information that will be returned
177317 ** explicitly declared column. Copy meta information from *pCol.
178907 ** The segment directory in table %_segdir stores meta-information for
178919 ** The meta-information in the segment directory is:
189261 ** else we need to reindex. One solution would be a meta-table to