/ Check-in [cf23a354]
Login

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

Overview
Comment:Make sure MEMSTATUS is enabled at the beginning of the memsubsys2.test script.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | apple-osx
Files: files | file ages | folders
SHA1: cf23a354975f581c2cf2299e2b2a4e00819830ad
User & Date: drh 2010-09-09 23:40:43
Context
2010-09-10
00:18
Make sure SQLite is running with MEMSTATUS enabled at the beginning of every test script. check-in: b6e9a4d8 user: drh tags: apple-osx
2010-09-09
23:40
Make sure MEMSTATUS is enabled at the beginning of the memsubsys2.test script. check-in: cf23a354 user: drh tags: apple-osx
23:31
The merge for check-in [415c448dc4] did not do exactly write, resulting in a subtle bug in the SQLITE_FCNTL_SIZE_HINT logic. This check-in is the fix. check-in: badaaa18 user: drh tags: apple-osx
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/memsubsys2.test.

    12     12   # This file contains tests of the memory allocation subsystem.
    13     13   #
    14     14   # $Id: memsubsys2.test,v 1.2 2008/08/12 15:21:12 drh Exp $
    15     15   
    16     16   set testdir [file dirname $argv0]
    17     17   source $testdir/tester.tcl
    18     18   sqlite3_reset_auto_extension
           19  +sqlite3_shutdown
           20  +sqlite3_config_memstatus 1
           21  +sqlite3_initialize
    19     22   
    20     23   # This procedure constructs a new database in test.db.  It fills
    21     24   # this database with many small records (enough to force multiple
    22     25   # rebalance operations in the btree-layer and to require a large
    23     26   # page cache), verifies correct results, then returns.
    24     27   #
    25     28   proc build_test_db {testname pragmas} {