/ Check-in [8ad88ee0]
Login

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

Overview
Comment:Fix memsubsys1.test so that it works with TEMP_STORE>=2.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:8ad88ee0c1145eb9f92267c31d7d787739718716
User & Date: dan 2010-10-04 15:47:31
Context
2010-10-04
16:06
Fix a couple of test script problems. check-in: dd106901 user: dan tags: trunk
15:47
Fix memsubsys1.test so that it works with TEMP_STORE>=2. check-in: 8ad88ee0 user: dan tags: trunk
14:11
Warning cleanup from MSVC. check-in: cde62657 user: shaneh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/memsubsys1.test.

    94     94   sqlite3_config_pagecache [expr 1024+$xtra_size] 20
    95     95   sqlite3_initialize
    96     96   reset_highwater_marks
    97     97   build_test_db memsubsys1-2 {PRAGMA page_size=1024}
    98     98   #show_memstats
    99     99   do_test memsubsys1-2.3 {
   100    100     set pg_ovfl [lindex [sqlite3_status SQLITE_STATUS_PAGECACHE_OVERFLOW 0] 2]
   101         -} [expr $AUTOVACUUM*1024]
          101  +} [expr ($AUTOVACUUM+$TEMP_STORE>=2)*1024]
   102    102   do_test memsubsys1-2.4 {
   103    103     set pg_used [lindex [sqlite3_status SQLITE_STATUS_PAGECACHE_USED 0] 2]
   104    104   } 20
   105    105   do_test memsubsys1-2.5 {
   106    106     set s_used [lindex [sqlite3_status SQLITE_STATUS_SCRATCH_USED 0] 2]
   107    107   } 0
   108    108