/ Check-in [c6db3b30]
Login

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

Overview
Comment:Modify ctime.test to work with SQLITE_THREADSAFE=2.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c6db3b303182202a8b03512e448607bce71de914
User & Date: dan 2010-06-24 17:37:57
Context
2010-06-24
18:36
Revert to allowing a cache spill during writes of multiple pages within a single sector as long as the spill does not require a journal sync and a new journal header. check-in: 7d83fbae user: drh tags: trunk
17:37
Modify ctime.test to work with SQLITE_THREADSAFE=2. check-in: c6db3b30 user: dan tags: trunk
14:52
Disable memory-pressure induced cache spill during savepoint rollback. check-in: a55eb4c3 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/ctime.test.

    82     82   do_test ctime-1.5 {
    83     83     set ans1 [ catchsql {
    84     84       SELECT sqlite_compileoption_used('THREADSAFE=0');
    85     85     } ]
    86     86     set ans2 [ catchsql {
    87     87       SELECT sqlite_compileoption_used('THREADSAFE=1');
    88     88     } ]
    89         -  lsort [ list $ans1 $ans2 ]
    90         -} {{0 0} {0 1}}
           89  +  set ans3 [ catchsql {
           90  +    SELECT sqlite_compileoption_used('THREADSAFE=2');
           91  +  } ]
           92  +  lsort [ list $ans1 $ans2 $ans3 ]
           93  +} {{0 0} {0 0} {0 1}}
    91     94   
    92     95   do_test ctime-1.6 {
    93     96     execsql {
    94     97       SELECT sqlite_compileoption_used('THREADSAFE=');
    95     98     }
    96     99   } {0}
    97    100