/ Check-in [e388d029]
Login

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

Overview
Comment:Fix a test script problem in wal2savepoint.test.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | begin-concurrent-pnu-wal2
Files: files | file ages | folders
SHA3-256: e388d02940e8c17e8e3f460643d988c8f523382df343f4fe766c2da17878e98d
User & Date: dan 2018-12-18 18:16:00
Wiki:begin-concurrent-pnu-wal2
Context
2018-12-18
19:46
Add the "mutexfree-shmlock" patch to this branch. check-in: c3191fc8 user: dan tags: begin-concurrent-pnu-wal2
18:16
Fix a test script problem in wal2savepoint.test. check-in: e388d029 user: dan tags: begin-concurrent-pnu-wal2
18:01
Merge the wal2 feature into this branch. check-in: a2c618c0 user: dan tags: begin-concurrent-pnu-wal2
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/wal2savepoint.test.

    35     35   
    36     36   do_execsql_test 1.1 {
    37     37     WITH s(i) AS ( SELECT 1 UNION ALL SELECT i+1 FROM s where i < 200)
    38     38     INSERT INTO t1 SELECT random(), random(), random() FROM s;
    39     39   } {}
    40     40   
    41     41   do_test 1.2 {
    42         -  list [file size test.db] [file size test.db-wal] [file size test.db-wal2]
    43         -} {5120 23088 0}
           42  +  list [file size test.db] [file size test.db-wal2] \
           43  +       [expr [file size test.db-wal]>20000]
           44  +} {5120 0 1}
    44     45   
    45     46   do_execsql_test 1.3 {
    46     47     BEGIN;
    47     48       SAVEPOINT abc;
    48     49         WITH s(i) AS ( SELECT 1 UNION ALL SELECT i+1 FROM s where i < 100)
    49     50         INSERT INTO t1 SELECT random(), random(), random() FROM s;
    50     51       ROLLBACK TO abc;