/ Check-in [26428b45]
Login

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

Overview
Comment:Do not run test script spellfix.test if SQLITE_OMIT_VIRTUAL_TABLE is defined. Fix walro.test so that it works if DEFAULT_AUTOVACUUM is defined.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 26428b459b45d0fa9fcad7eb5e58bd60b04a0f83
User & Date: dan 2012-08-07 14:18:18
Context
2012-08-07
15:19
Fix a bug in hash.c introduced by [305b66672653]. check-in: 17cb5e95 user: dan tags: trunk
14:18
Do not run test script spellfix.test if SQLITE_OMIT_VIRTUAL_TABLE is defined. Fix walro.test so that it works if DEFAULT_AUTOVACUUM is defined. check-in: 26428b45 user: dan tags: trunk
13:55
Fix a bug in walthread.test causing intermittent failures. check-in: a192a718 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/spellfix.test.

     9      9   #
    10     10   #***********************************************************************
    11     11   #
    12     12   
    13     13   set testdir [file dirname $argv0]
    14     14   source $testdir/tester.tcl
    15     15   set testprefix spellfix
           16  +
           17  +ifcapable !vtab { finish_test ; return }
    16     18   
    17     19   register_spellfix_module db
    18     20   
    19     21   set vocab {
    20     22   rabbi rabbit rabbits rabble rabid rabies raccoon raccoons race raced racer
    21     23   racers races racetrack racial racially racing rack racked racket racketeer
    22     24   racketeering racketeers rackets racking racks radar radars radial radially

Changes to test/walro.test.

    52     52     }
    53     53   
    54     54     file mkdir walro
    55     55   
    56     56     do_test 1.1.1 {
    57     57       code2 { sqlite3 db2 test.db }
    58     58       sql2 { 
           59  +      PRAGMA auto_vacuum = 0;
    59     60         PRAGMA journal_mode = WAL;
    60     61         CREATE TABLE t1(x, y);
    61     62         INSERT INTO t1 VALUES('a', 'b');
    62     63       }
    63     64       file exists test.db-shm
    64     65     } {1}
    65     66   
................................................................................
   264    265   
   265    266     do_test 2.1.1 {
   266    267       testvfs tv -default 1 -fullshm 1
   267    268       tv script tv_hook
   268    269       tv filter {}
   269    270       code1 { sqlite3 db test.db }
   270    271       csql1 { 
          272  +      PRAGMA auto_vacuum = 0;
   271    273         PRAGMA journal_mode = WAL;
   272    274         BEGIN;
   273    275           CREATE TABLE t2(x, y);
   274    276           INSERT INTO t2 VALUES('abc', 'xyz');
   275    277           INSERT INTO t2 SELECT x||y, y||x FROM t2;
   276    278           INSERT INTO t2 SELECT x||y, y||x FROM t2;
   277    279         COMMIT;