/ Check-in [7d092ebb]
Login

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

Overview
Comment:Fix the e_walauto.test script so that it works on windows.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7d092ebb6724c3c0fdc05dc94ca767d158933fb5
User & Date: drh 2014-12-16 12:46:38
Context
2014-12-17
15:03
Experimental opimizations to speed up FK constraint CASCADE and SET NULL action processing. check-in: 8c5dd6cc user: dan tags: trunk
2014-12-16
12:46
Fix the e_walauto.test script so that it works on windows. check-in: 7d092ebb user: drh tags: trunk
00:20
Enhanced "stress2" testing in the threadtest3.c test program. check-in: ae43539e user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/e_walauto.test.

    64     64   } {
    65     65   
    66     66     eval $code
    67     67   
    68     68     reset_db
    69     69     do_execsql_test 1.$tn.0 { PRAGMA journal_mode = WAL } {wal}
    70     70     do_execsql_test 1.$tn.1 { CREATE TABLE t1(a, b) }
    71         -  set shmfd [open "test.db-shm"]
           71  +  set shmfd [open "test.db-shm" rb]
    72     72   
    73     73     # EVIDENCE-OF: R-41531-51083 Every new database connection defaults to
    74     74     # having the auto-checkpoint enabled with a threshold of 1000 or
    75     75     # SQLITE_DEFAULT_WAL_AUTOCHECKPOINT pages.
    76     76     #
    77     77     do_autocommit_threshold_test 1.$tn.2 1000
    78     78     db eval { INSERT INTO t1 VALUES(randomblob(100), randomblob(100)) }