/ Check-in [6db1d1fb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Larger margins for one memsubsys1 range check when running with a non-zero reserved-bytes value.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:6db1d1fbc6c1acc896fa635dfdc5564800502c40
User & Date: drh 2016-03-24 15:32:19
Context
2016-03-24
20:36
Prevent negative values of SQLITE_DEFAULT_CACHE_SIZE from making SQLITE_WIN32_HEAP_INIT_SIZE negative. check-in: e0737f52 user: mistachkin tags: trunk
15:32
Larger margins for one memsubsys1 range check when running with a non-zero reserved-bytes value. check-in: 6db1d1fb user: drh tags: trunk
15:09
Fix some test scripts so that they work with various permutations. check-in: f4d234b5 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/memsubsys1.test.

   253    253     expr {$pg_used<24}
   254    254   } 1
   255    255   do_test memsubsys1-7.4 {
   256    256     set pg_ovfl [lindex [sqlite3_status SQLITE_STATUS_PAGECACHE_OVERFLOW 0] 2]
   257    257   } 0
   258    258   do_test memsubsys1-7.5 {
   259    259     set maxreq [lindex [sqlite3_status SQLITE_STATUS_MALLOC_SIZE 0] 2]
   260         -  expr {$maxreq<4100 + 4200*[nonzero_reserved_bytes]}
          260  +  expr {$maxreq<(4100 + 8200*[nonzero_reserved_bytes])}
   261    261   } 1
   262    262   do_test memsubsys1-7.6 {
   263    263     set s_used [lindex [sqlite3_status SQLITE_STATUS_SCRATCH_USED 0] 2]
   264    264   } 1
   265    265   do_test memsubsys1-7.7 {
   266    266     set s_ovfl [lindex [sqlite3_status SQLITE_STATUS_SCRATCH_OVERFLOW 0] 2]
   267    267   } 0