/ Check-in [7ef3f7cb]
Login

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

Overview
Comment:Fix a problem in memsubsys1.test. Modifications to test code only.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7ef3f7cba768ef0c4782a6c80424833b4df6a059
User & Date: dan 2011-01-25 09:54:53
Context
2011-01-25
11:33
Fix a broken assert() in pager.c. check-in: 13108ce1 user: dan tags: trunk
09:54
Fix a problem in memsubsys1.test. Modifications to test code only. check-in: 7ef3f7cb user: dan tags: trunk
04:34
Shave a few cycles so that performance is better than 3.7.4 in speed tests. check-in: e1464930 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/memsubsys1.test.

    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   set MEMORY_MANAGEMENT $sqlite_options(memorymanage)
   100    100   do_test memsubsys1-2.3 {
   101    101     set pg_ovfl [lindex [sqlite3_status SQLITE_STATUS_PAGECACHE_OVERFLOW 0] 2]
   102         -} [expr ($AUTOVACUUM+$TEMP_STORE+$MEMORY_MANAGEMENT>=3)*1024]
          102  +} [expr ($TEMP_STORE>1 || $MEMORY_MANAGEMENT==0)*1024]
   103    103   do_test memsubsys1-2.4 {
   104    104     set pg_used [lindex [sqlite3_status SQLITE_STATUS_PAGECACHE_USED 0] 2]
   105    105   } 20
   106    106   do_test memsubsys1-2.5 {
   107    107     set s_used [lindex [sqlite3_status SQLITE_STATUS_SCRATCH_USED 0] 2]
   108    108   } 0
   109    109