Lines Matching defs:eMode
7571 ** eMode parameter:
7639 int eMode, /* SQLITE_CHECKPOINT_* value */
38316 int eMode, /* One of PASSIVE, FULL and RESTART */
45098 ** Get/set the locking-mode for this pager. Parameter eMode must be one
45107 SQLITE_PRIVATE int sqlite3PagerLockingMode(Pager *pPager, int eMode){
45108 assert( eMode==PAGER_LOCKINGMODE_QUERY
45109 || eMode==PAGER_LOCKINGMODE_NORMAL
45110 || eMode==PAGER_LOCKINGMODE_EXCLUSIVE );
45114 if( eMode>=0 && !pPager->tempFile && !sqlite3WalHeapMemory(pPager->pWal) ){
45115 pPager->exclusiveMode = (u8)eMode;
45121 ** Set the journal-mode for this pager. Parameter eMode must be one of:
45140 SQLITE_PRIVATE int sqlite3PagerSetJournalMode(Pager *pPager, int eMode){
45150 /* The eMode parameter is always valid */
45151 assert( eMode==PAGER_JOURNALMODE_DELETE
45152 || eMode==PAGER_JOURNALMODE_TRUNCATE
45153 || eMode==PAGER_JOURNALMODE_PERSIST
45154 || eMode==PAGER_JOURNALMODE_OFF
45155 || eMode==PAGER_JOURNALMODE_WAL
45156 || eMode==PAGER_JOURNALMODE_MEMORY );
45162 assert( pPager->tempFile==0 || eMode!=PAGER_JOURNALMODE_WAL );
45169 if( eMode!=PAGER_JOURNALMODE_MEMORY && eMode!=PAGER_JOURNALMODE_OFF ){
45170 eMode = eOld;
45174 if( eMode!=eOld ){
45178 pPager->journalMode = (u8)eMode;
45192 if( !pPager->exclusiveMode && (eOld & 5)==1 && (eMode & 1)==0 ){
45291 ** Parameter eMode is one of SQLITE_CHECKPOINT_PASSIVE, FULL or RESTART.
45293 SQLITE_PRIVATE int sqlite3PagerCheckpoint(Pager *pPager, int eMode, int *pnLog, int *pnCkpt){
45296 rc = sqlite3WalCheckpoint(pPager->pWal, eMode,
47155 int eMode, /* One of PASSIVE, FULL or RESTART */
47185 if( eMode!=SQLITE_CHECKPOINT_PASSIVE ) xBusy = xBusyCall;
47279 if( rc==SQLITE_OK && eMode!=SQLITE_CHECKPOINT_PASSIVE ){
47283 }else if( eMode==SQLITE_CHECKPOINT_RESTART ){
48407 int eMode, /* PASSIVE, FULL or RESTART */
48418 int eMode2 = eMode; /* Mode to pass to walCheckpoint() */
48443 if( eMode!=SQLITE_CHECKPOINT_PASSIVE ){
48491 return (rc==SQLITE_OK && eMode!=eMode2 ? SQLITE_BUSY : rc);
52593 u8 eMode = BTALLOC_ANY; /* Mode parameter for allocateBtreePage() */
52609 eMode = BTALLOC_LE;
52614 rc = allocateBtreePage(pBt, &pFreePg, &iFreePg, iNear, eMode);
54487 ** If the eMode parameter is BTALLOC_EXACT and the nearby page exists
54489 ** eMode is BTALLOC_LT then the page returned will be less than or equal
54490 ** to nearby if any such page exists. If eMode is BTALLOC_ANY then there
54498 u8 eMode /* BTALLOC_EXACT, BTALLOC_LT, or BTALLOC_ANY */
54509 assert( eMode==BTALLOC_ANY || (nearby>0 && IfNotOmitAV(pBt->autoVacuum)) );
54522 /* If eMode==BTALLOC_EXACT and a query of the pointer-map
54527 if( eMode==BTALLOC_EXACT ){
54538 }else if( eMode==BTALLOC_LE ){
54552 ** free-list until the page 'nearby' is located (eMode==BTALLOC_EXACT)
54553 ** or until a page less than 'nearby' is located (eMode==BTALLOC_LT)
54596 && (nearby==iTrunk || (iTrunk<nearby && eMode==BTALLOC_LE))
54665 if( eMode==BTALLOC_LE ){
54696 || (iPage==nearby || (iPage<nearby && eMode==BTALLOC_LE))
57809 ** Parameter eMode is one of SQLITE_CHECKPOINT_PASSIVE, FULL or RESTART.
57811 SQLITE_PRIVATE int sqlite3BtreeCheckpoint(Btree *p, int eMode, int *pnLog, int *pnCkpt){
57819 rc = sqlite3PagerCheckpoint(pBt->pPager, eMode, pnLog, pnCkpt);
93643 ** Parameter eMode must be one of the PAGER_JOURNALMODE_XXX constants
93647 SQLITE_PRIVATE const char *sqlite3JournalModename(int eMode){
93660 assert( eMode>=0 && eMode<=ArraySize(azModeName) );
93662 if( eMode==ArraySize(azModeName) ) return 0;
93663 return azModeName[eMode];
93904 int eMode = getLockingMode(zRight);
93906 if( pId2->n==0 && eMode==PAGER_LOCKINGMODE_QUERY ){
93911 eMode = db->dfltLockMode;
93927 sqlite3PagerLockingMode(pPager, eMode);
93929 db->dfltLockMode = (u8)eMode;
93932 eMode = sqlite3PagerLockingMode(pPager, eMode);
93935 assert(eMode==PAGER_LOCKINGMODE_NORMAL||eMode==PAGER_LOCKINGMODE_EXCLUSIVE);
93936 if( eMode==PAGER_LOCKINGMODE_EXCLUSIVE ){
93951 int eMode; /* One of the PAGER_JOURNALMODE_XXX symbols */
93968 eMode = PAGER_JOURNALMODE_QUERY;
93972 for(eMode=0; (zMode = sqlite3JournalModename(eMode))!=0; eMode++){
93978 eMode = PAGER_JOURNALMODE_QUERY;
93981 if( eMode==PAGER_JOURNALMODE_QUERY && pId2->n==0 ){
93989 sqlite3VdbeAddOp3(v, OP_JournalMode, ii, 1, eMode);
95047 int eMode = SQLITE_CHECKPOINT_PASSIVE;
95050 eMode = SQLITE_CHECKPOINT_FULL;
95052 eMode = SQLITE_CHECKPOINT_RESTART;
95062 sqlite3VdbeAddOp3(v, OP_Checkpoint, iBt, eMode, 1);
116490 int eMode, /* SQLITE_CHECKPOINT_* value */
116507 if( eMode<SQLITE_CHECKPOINT_PASSIVE || eMode>SQLITE_CHECKPOINT_RESTART ){
116519 rc = sqlite3Checkpoint(db, iDb, eMode, pnLog, pnCkpt);
116556 ** Parameter eMode is one of SQLITE_CHECKPOINT_PASSIVE, FULL or RESTART.
116558 SQLITE_PRIVATE int sqlite3Checkpoint(sqlite3 *db, int iDb, int eMode, int *pnLog, int *pnCkpt){
116569 rc = sqlite3BtreeCheckpoint(db->aDb[i].pBt, eMode, pnLog, pnCkpt);