Lines Matching defs:createFlag

6712 ** cache implementation should use the value of the createFlag
6716 ** <tr><th> createFlag <th> Behaviour when page is not already in cache
6724 ** ^(SQLite will normally invoke xFetch() with a createFlag of 0 or 1. SQLite
6725 ** will only use a createFlag of 2 after a prior call with a createFlag of 1
6778 sqlite3_pcache_page *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
6800 void *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
9082 SQLITE_PRIVATE int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**);
36324 int createFlag, /* If true, create page if it does not exist already */
36332 assert( createFlag==1 || createFlag==0 );
36338 if( !pCache->pCache && createFlag ){
36350 eCreate = createFlag * (1 + (!pCache->bPurgeable || !pCache->pDirty));
37391 ** the value of the createFlag argument. 0 means do not allocate a new
37396 ** database) there is really no difference between createFlag 1 and 2. So
37397 ** the calling function (pcache.c) will never have a createFlag of 1 on
37401 ** depending on the value of parameter createFlag (which may be 0, 1 or 2).
37403 ** 1. Regardless of the value of createFlag, the cache is searched for a
37406 ** 2. If createFlag==0 and the page is not already in the cache, NULL is
37409 ** 3. If createFlag is 1, and the page is not already in the cache, then
37442 int createFlag
37449 assert( pCache->bPurgeable || createFlag!=1 );
37461 /* Step 2: Abort if no existing page is found and createFlag is 0 */
37462 if( pPage || createFlag==0 ){
37478 /* Step 3: Abort if createFlag is 1 but the cache is nearly full */
37483 if( createFlag==1 && (
37526 if( createFlag==1 ) sqlite3BeginBenignMalloc();
37528 if( createFlag==1 ) sqlite3EndBenignMalloc();
39958 /* It is not possible for a call to PcacheFetch() with createFlag==0 to
42496 ** is impossible for sqlite3PcacheFetch() to be called with createFlag==1
85208 ** If the createFlag argument is true, then a new (blank) FuncDef
85210 ** no matching function previously existed. When createFlag is true
85214 ** If createFlag is false and nArg is -1, then the first valid
85218 ** If createFlag is false, then a function with the required name and
85228 int createFlag /* Create new entry if true and does not otherwise exist */
85257 ** Except, if createFlag is true, that means that we are trying to
85263 if( !createFlag && (pBest==0 || (db->flags & SQLITE_PreferBuiltin)!=0) ){
85277 /* If the createFlag parameter is true and the search did not reveal an
85281 if( createFlag && (bestScore<6 || pBest->nArg!=nArg) &&
85291 if( pBest && (pBest->xStep || pBest->xFunc || createFlag) ){