Lines Matching defs:cookie

19112   u8 checkSchema;      /* Causes schema cookie check after an error */
67638 ** 40 4 Schema cookie
79770 u32 iDestSchema; /* Original schema cookie in destination */
94248 ** If P5!=0 then this opcode also checks the schema cookie against P3
94250 ** The cookie changes its value whenever the database schema changes.
94251 ** This operation is used to detect when that the cookie has changed
94253 ** cookie in P3 differs from the schema cookie in the database header or
94332 /* If the schema-cookie from the database file matches the cookie
94362 ** Read cookie number P3 from database P1 and write it into register P2.
94393 ** Write the integer value P3 into cookie number P2 of database P1.
94401 ** If P2 is the SCHEMA_VERSION cookie (cookie number 1) then the internal
94420 /* When the schema cookie changes, record the new cookie internally */
112526 /* Begin a transaction for database iDb. Then modify the schema cookie
117660 /* The cookie mask contains one bit for each database file open.
117663 ** transaction on each used database and to verify the schema cookie
119498 ** Generate code that will increment the schema cookie.
119500 ** The schema cookie is used to determine when the schema for the
119501 ** database changes. After each schema change, the cookie value
119503 ** cookie. Thereafter, whenever it goes to access the database,
119504 ** it checks the cookie to make sure the schema has not changed
119508 ** the schema to change multiple times and for the cookie to be
119510 ** and the probability of hitting the same cookie value is only
120881 ** the schema cookie.
122692 ** Record the fact that the schema cookie will need to be verified
122693 ** for database iDb. The code to actually verify the schema cookie
136395 ** The schema-cookie is usually only manipulated internally by SQLite. It
136409 int iCookie = pPragma->iArg; /* Which cookie to read or write */
136412 /* Write the specified cookie value */
136432 /* Read the specified cookie value */
137415 ** meta[0] Schema cookie. Changes with each schema change.
137630 ** Check schema cookies in all databases. If any cookie is out
137638 int cookie;
137644 Btree *pBt = db->aDb[iDb].pBt; /* Btree database to read cookie from */
137660 /* Read the schema cookie from the database. If it does not match the
137663 sqlite3BtreeGetMeta(pBt, BTREE_SCHEMA_VERSION, (u32 *)&cookie);
137665 if( cookie!=db->aDb[iDb].pSchema->schema_cookie ){
137862 ** prepared statement goes to run the schema cookie would fail to detect
149859 ** The increment is used to increase the schema cookie so that other
149863 BTREE_SCHEMA_VERSION, 1, /* Add one to the old schema cookie */
177477 ** schema cookie in the main database for db, or
177478 ** x if the schema cookie is zero. This case
208967 ** Valid if STAGE==1. The current change-counter cookie value in the
212291 ** Increment the schema cookie of the main database opened by p->dbMain.
212293 ** Or, if this is an RBU vacuum, set the schema cookie of the main db
212294 ** opened by p->dbMain to one more than the schema cookie of the main
212862 ** change-counter cookie (the thing that gets incremented when a
213239 ** written, the value of the change-counter cookie is stored in
230077 ** of a single 32-bit configuration cookie value followed by a list of
230080 ** the same cookie value.
230082 ** Immediately following the configuration cookie, the record begins with
230900 int *piCookie, /* Configuration cookie value */
230911 /* Grab the cookie value */
231046 int iCookie; /* Configuration cookie */
231189 /* Append the current configuration cookie */
235754 ** Set the 32-bit cookie value stored at the start of all structure