Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fixes for test cases running in the "mmap" permutation. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
cdb97d41abf4a3b8e22fa8ca9f3aab4a |
User & Date: | dan 2013-07-06 18:07:57.900 |
Context
2013-07-08
| ||
01:27 | Add an optional 5th parameter to the next_char() function that is the collating sequence to use for comparison. (check-in: 9415db6ef2 user: drh tags: trunk) | |
2013-07-06
| ||
18:07 | Fixes for test cases running in the "mmap" permutation. (check-in: cdb97d41ab user: dan tags: trunk) | |
17:57 | Drop any existing mapping of the database file when exiting the pager "error state", as it may at this point be too large for the database file. Do not invoke file-control MMAP_SIZE if the database file handle does not support xFetch and xUnfetch (on the grounds that xUnfetch(0) calls to invalidate the mapping cannot be made). (check-in: 0ae7e75b21 user: dan tags: trunk) | |
Changes
Changes to test/memsubsys1.test.
︙ | ︙ | |||
90 91 92 93 94 95 96 | # Test 2: Activate PAGECACHE with 20 pages # db close sqlite3_shutdown sqlite3_config_pagecache [expr 1024+$xtra_size] 20 sqlite3_initialize reset_highwater_marks | | | 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | # Test 2: Activate PAGECACHE with 20 pages # db close sqlite3_shutdown sqlite3_config_pagecache [expr 1024+$xtra_size] 20 sqlite3_initialize reset_highwater_marks build_test_db memsubsys1-2 {PRAGMA page_size=1024; PRAGMA mmap_size=0} #show_memstats set MEMORY_MANAGEMENT $sqlite_options(memorymanage) ifcapable !malloc_usable_size { do_test memsubsys1-2.3 { set pg_ovfl [lindex [sqlite3_status SQLITE_STATUS_PAGECACHE_OVERFLOW 0] 2] } [expr ($TEMP_STORE>1 || $MEMORY_MANAGEMENT==0)*1024] } |
︙ | ︙ |
Changes to test/pcache.test.
︙ | ︙ | |||
40 41 42 43 44 45 46 47 48 49 50 51 52 53 | } {current 0 max 0 min 0 recyclable 0} do_test pcache-1.2 { sqlite3 db test.db execsql { PRAGMA cache_size=12; PRAGMA auto_vacuum=0; } pcache_stats } {current 1 max 12 min 10 recyclable 1} do_test pcache-1.3 { execsql { BEGIN; | > | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | } {current 0 max 0 min 0 recyclable 0} do_test pcache-1.2 { sqlite3 db test.db execsql { PRAGMA cache_size=12; PRAGMA auto_vacuum=0; PRAGMA mmap_size=0; } pcache_stats } {current 1 max 12 min 10 recyclable 1} do_test pcache-1.3 { execsql { BEGIN; |
︙ | ︙ |