Home | History | Annotate | Download | only in orig

Lines Matching refs:createFlag

6761 ** cache implementation should use the value of the createFlag
6765 ** <tr><th> createFlag <th> Behaviour when page is not already in cache
6773 ** ^(SQLite will normally invoke xFetch() with a createFlag of 0 or 1. SQLite
6774 ** will only use a createFlag of 2 after a prior call with a createFlag of 1
6827 sqlite3_pcache_page *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
6849 void *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
9128 SQLITE_PRIVATE int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**);
36440 int createFlag, /* If true, create page if it does not exist already */
36448 assert( createFlag==1 || createFlag==0 );
36454 if( !pCache->pCache && createFlag ){
36466 eCreate = createFlag * (1 + (!pCache->bPurgeable || !pCache->pDirty));
37506 ** the value of the createFlag argument. 0 means do not allocate a new
37511 ** database) there is really no difference between createFlag 1 and 2. So
37512 ** the calling function (pcache.c) will never have a createFlag of 1 on
37516 ** depending on the value of parameter createFlag (which may be 0, 1 or 2).
37518 ** 1. Regardless of the value of createFlag, the cache is searched for a
37521 ** 2. If createFlag==0 and the page is not already in the cache, NULL is
37524 ** 3. If createFlag is 1, and the page is not already in the cache, then
37557 int createFlag
37564 assert( pCache->bPurgeable || createFlag!=1 );
37576 /* Step 2: Abort if no existing page is found and createFlag is 0 */
37577 if( pPage || createFlag==0 ){
37593 /* Step 3: Abort if createFlag is 1 but the cache is nearly full */
37598 if( createFlag==1 && (
37641 if( createFlag==1 ) sqlite3BeginBenignMalloc();
37643 if( createFlag==1 ) sqlite3EndBenignMalloc();
40080 /* It is not possible for a call to PcacheFetch() with createFlag==0 to
42618 ** is impossible for sqlite3PcacheFetch() to be called with createFlag==1
85323 ** If the createFlag argument is true, then a new (blank) FuncDef
85325 ** no matching function previously existed. When createFlag is true
85329 ** If createFlag is false and nArg is -1, then the first valid
85333 ** If createFlag is false, then a function with the required name and
85343 int createFlag /* Create new entry if true and does not otherwise exist */
85372 ** Except, if createFlag is true, that means that we are trying to
85378 if( !createFlag && (pBest==0 || (db->flags & SQLITE_PreferBuiltin)!=0) ){
85392 /* If the createFlag parameter is true and the search did not reveal an
85396 if( createFlag && (bestScore<6 || pBest->nArg!=nArg) &&
85406 if( pBest && (pBest->xStep || pBest->xFunc || createFlag) ){