SQLite4
Check-in [0ed91ba599]
Not logged in

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

Overview
Comment:Fix a problem in test script misuse.test.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 0ed91ba5990b25f74f6f96acb5c8e6edf50de02f
User & Date: dan 2012-09-05 17:15:33
Context
2012-09-05
18:52
Fix a bug in the lsm_unix.c xLock method. check-in: e50e06e52c user: dan tags: trunk
17:15
Fix a problem in test script misuse.test. check-in: 0ed91ba599 user: dan tags: trunk
16:18
When possible, reuse file-descriptors from the deferred-close list instead of opening new ones. check-in: 9350457414 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/misuse.test.

    35     35   }
    36     36   
    37     37   
    38     38   # Make sure the test logic works
    39     39   #
    40     40   do_test misuse-1.1 {
    41     41     db close
    42         -  catch {forcedelete test2.db}
    43         -  catch {forcedelete test2.db-journal}
           42  +  db_delete test2.db
    44     43     sqlite4 db test2.db; set ::DB [sqlite4_connection_pointer db]
    45     44     execsql {
    46     45       CREATE TABLE t1(a,b);
    47     46       INSERT INTO t1 VALUES(1,2);
    48     47     }
    49     48     catchsql2 {
    50     49       SELECT * FROM t1