| /sqlite-3.40.0/test/ |
| H A D | corrupt9.test | 15 # on corruption in the form of duplicate entries on the freelist. 38 # Return the offset to the first (trunk) page of the freelist. Return 39 # zero of the freelist is empty. 47 # This procedure looks at the first trunk page of the freelist and 62 # entries on the freelist. 89 # Corrupt the freelist by adding duplicate entries to the freelist.
|
| H A D | pageropt.test | 118 # Pages written are page 1 (for the freelist pointer), the root page 120 # becomes the trunk of the freelist. Total 3. 130 # When pulling pages off of the freelist, there is no reason 147 # freelist we do not read the content of that page. 178 # There are now 11 pages on the freelist. Move them all into an 181 # of the freelist need to be read (3 pages). And only those three 194 # empty freelist. The first 10 of the 11 pages overflow chain have 197 # freelist need to be journalled and written back.
|
| H A D | corrupt4.test | 36 # Create a database with a freelist containing at least two pages. 52 # Verify that there are two pages on the freelist. 58 # Get the page number for the trunk of the freelist. 63 # Verify that the trunk of the freelist has exactly one 71 # Then try to add a new element to the freelist.
|
| H A D | e_vacuum.test | 98 set freelist [expr {$nPage - $sz}] 103 incr freelist -2 105 do_execsql_test e_vacuum-1.1.$tn.3 {PRAGMA freelist_count} $freelist
|
| H A D | corrupt2.test | 565 # Test that PRAGMA integrity_check detects cases where the freelist-count 566 # header field is smaller than the actual number of pages on the freelist. 594 Main freelist: size is 3 but should be 2}} 606 Main freelist: size is 1 but should be 0}}
|
| H A D | corrupt5.test | 33 # Create a database with a freelist containing at least two pages.
|
| H A D | ioerr4.test | 52 # on the freelist.
|
| H A D | mallocC.test | 108 -- page from the freelist' code when in auto-vacuum mode (see the
|
| H A D | recover.test | 169 recover_with_opts -ignore-freelist
|
| H A D | incrvacuum2.test | 29 # pages on the freelist.
|
| H A D | trans2.test | 100 # many pages to the freelist.
|
| H A D | exclusive2.test | 100 # does not modify the freelist, then reset the pager change-counter
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_ckpt.c | 446 assert( pSnap->freelist.nEntry<=pDb->nMaxFreelist ); in ckptExportSnapshot() 448 int nFree = pSnap->freelist.nEntry; in ckptExportSnapshot() 451 FreelistEntry *p = &pSnap->freelist.aEntry[i]; in ckptExportSnapshot() 484 "ckptExportSnapshot(): id=%lld freelist: %d", iId, pSnap->freelist.nEntry in ckptExportSnapshot() 486 for(i=0; i<pSnap->freelist.nEntry; i++){ in ckptExportSnapshot() 489 pSnap->freelist.aEntry[i].iBlk, in ckptExportSnapshot() 490 pSnap->freelist.aEntry[i].iId in ckptExportSnapshot() 1016 pNew->freelist.aEntry = (FreelistEntry *)lsmMallocZeroRc( in lsmCheckpointDeserialize() 1022 FreelistEntry *p = &pNew->freelist.aEntry[j]; in lsmCheckpointDeserialize() 1027 pNew->freelist.nEntry = pNew->freelist.nAlloc = nFree; in lsmCheckpointDeserialize()
|
| H A D | lsm_sorted.c | 4329 Freelist freelist; in sortedNewToplevel() local 4336 pDb->pFreelist = &freelist; in sortedNewToplevel() 4338 memset(&freelist, 0, sizeof(freelist)); in sortedNewToplevel() 4432 if( freelist.nEntry ){ in sortedNewToplevel() 4435 memcpy(p, &freelist, sizeof(freelist)); in sortedNewToplevel() 4436 freelist.aEntry = 0; in sortedNewToplevel() 4438 pDb->pWorker->freelist.nEntry = 0; in sortedNewToplevel() 4449 lsmFree(pDb->pEnv, freelist.aEntry); in sortedNewToplevel() 4963 Freelist freelist = {0, 0, 0}; in sortedWork() local 5010 pDb->pFreelist = &freelist; in sortedWork() [all …]
|
| H A D | lsm_shared.c | 106 p = db->bUseFreelist ? db->pFreelist : &db->pWorker->freelist; in freelistAppend() 693 ctx[0].pFreelist = &pDb->pWorker->freelist; in lsmWalkFreelist() 993 lsmFree(pEnv, p->freelist.aEntry); in lsmFreeSnapshot()
|
| H A D | lsmInt.h | 584 Freelist freelist; /* Free block list */ member
|
| H A D | lsm_file.c | 3254 Freelist freelist = {0, 0, 0}; in lsmFsIntegrityCheck() local 3293 lsmFree(pDb->pEnv, freelist.aEntry); in lsmFsIntegrityCheck()
|
| /sqlite-3.40.0/ext/repair/ |
| H A D | sqlite3_checker.tcl | 102 --freelist Perform a freelist check
|
| /sqlite-3.40.0/doc/ |
| H A D | pager-invariants.txt | 13 (b) The page was a freelist leaf page at the start of the transaction. 47 all queries. Note in particular the content of freelist leaf
|
| /sqlite-3.40.0/tool/ |
| H A D | spaceanal.tcl | 612 statline {Pages on the freelist (per header)} $free_pgcnt2 $free_percent2 613 statline {Pages on the freelist (calculated)} $free_pgcnt $free_percent 721 Pages on the freelist 724 future use. The percentage at the right is the number of freelist pages
|
| H A D | lemon.c | 1306 static struct config *freelist = 0; /* List of free configurations */ variable 1320 old->next = freelist; in deleteconfig() 1321 freelist = old; in deleteconfig()
|
| /sqlite-3.40.0/src/ |
| H A D | shell.c.in | 4519 " --ignore-freelist Ignore pages that appear to be on db freelist", 5929 { "freelist page count:", 36 }, 7310 int bFreelist = 1; /* 0 if --ignore-freelist is specified */ 7320 if( n<=17 && memcmp("-ignore-freelist", z, n)==0 ){
|