/ Check-in [8dcb9d50]
Login

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

Overview
Comment:Minor test infrastructure changes to better support SEE testing.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8dcb9d506b5eef3a21d97877217e0df69966a915
User & Date: drh 2016-07-25 16:10:43
Context
2016-07-25
21:11
Fix a test case in FTS5 to make it compatible with Tcl 8.5. check-in: a495f8e7 user: drh tags: trunk
17:31
Merge 3.14 alpha changes from trunk. check-in: e98cefb1 user: drh tags: apple-osx
16:10
Minor test infrastructure changes to better support SEE testing. check-in: 8dcb9d50 user: drh tags: trunk
14:40
Add a new %ifdef to parse.y so that the build works with SQLITE_OMIT_SUBQUERY. check-in: 38a48cfb user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/tester.tcl.

   369    369   # This command should be called after loading tester.tcl from within
   370    370   # all test scripts that are incompatible with encryption codecs.
   371    371   #
   372    372   proc do_not_use_codec {} {
   373    373     set ::do_not_use_codec 1
   374    374     reset_db
   375    375   }
          376  +unset -nocomplain do_not_use_codec
   376    377   
   377    378   # Return true if the "reserved_bytes" integer on database files is non-zero.
   378    379   #
   379    380   proc nonzero_reserved_bytes {} {
   380    381     return [sqlite3 -has-codec]
   381    382   }
   382    383   

Changes to test/walcrash4.test.

    13     13   
    14     14   set testdir [file dirname $argv0]
    15     15   source $testdir/tester.tcl
    16     16   source $testdir/lock_common.tcl
    17     17   source $testdir/wal_common.tcl
    18     18   ifcapable !wal {finish_test ; return }
    19     19   set testprefix walcrash4
           20  +do_not_use_codec
    20     21   
    21     22   #-------------------------------------------------------------------------
    22     23   # At one point, if "PRAGMA synchronous=full" is set and the platform
    23     24   # does not support POWERSAFE_OVERWRITE, and the last frame written to 
    24     25   # the wal file in a transaction is aligned with a sector boundary, the
    25     26   # xSync() call was omitted. 
    26     27   #