/ Check-in [4921e5ba]
Login

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

Overview
Comment:Do not run test file "resetdb.test" as part of permutation "inmemory_journal".
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4921e5bae4c12c3413cc0b2e58766cf2ac117ad95f92fcd1c2457db6cfabb054
User & Date: dan 2018-05-29 13:25:14
Context
2018-05-29
14:06
Fix some test script issues caused by recent EXPLAIN QUERY PLAN enhancements. check-in: f808e228 user: dan tags: trunk
13:25
Do not run test file "resetdb.test" as part of permutation "inmemory_journal". check-in: 4921e5ba user: dan tags: trunk
2018-05-28
18:29
Do not require a statement journal in cases where REPLACE conflict handling is used to insert a single row, so long as the REPLACE operation cannot fire any triggers or foreign key actions. check-in: 469a62ca user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/resetdb.test.

    15     15   source $testdir/tester.tcl
    16     16   set testprefix resetdb
    17     17   
    18     18   ifcapable !vtab||!compound {
    19     19     finish_test
    20     20     return
    21     21   }
           22  +
           23  +# In the "inmemory_journal" permutation, each new connection executes 
           24  +# "PRAGMA journal_mode = memory". This fails with SQLITE_BUSY if attempted
           25  +# on a wal mode database with existing connections. For this and a few
           26  +# other reasons, this test is not run as part of "inmemory_journal".
           27  +#
           28  +if {[permutation]=="inmemory_journal"} {
           29  +  finish_test
           30  +  return
           31  +}
    22     32   
    23     33   # Create a sample database
    24     34   do_execsql_test 100 {
    25     35     PRAGMA page_size=4096;
    26     36     CREATE TABLE t1(a,b);
    27     37     WITH RECURSIVE c(x) AS (VALUES(1) UNION ALL SELECT x+1 FROM c WHERE x<20)
    28     38       INSERT INTO t1(a,b) SELECT x, randomblob(300) FROM c;