Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Replace invocation of (really_finish_test) from async.test with (finish_test). Otherwise a tcl exception may be thrown when running permutations. (CVS 6493) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e6465e9da3d754833c21e0fb76c16a4e |
User & Date: | danielk1977 2009-04-11 10:25:04.000 |
Context
2009-04-11
| ||
11:38 | Increase the hard upper bound on the number of pcache pages in test_pcache when the test harness is compiled for in-memory temp tables. Some of the test cases need to extra memory to avoid unplanned out of memory errors. (CVS 6494) (check-in: 7f2d6a0bd5 user: drh tags: trunk) | |
10:25 | Replace invocation of (really_finish_test) from async.test with (finish_test). Otherwise a tcl exception may be thrown when running permutations. (CVS 6493) (check-in: e6465e9da3 user: danielk1977 tags: trunk) | |
09:51 | In sqlite3PagerMovepage(), avoid holding a reference to page number X when calling sqlite3PcacheRekey() to move another page to page number X. (CVS 6492) (check-in: 4447c94f45 user: danielk1977 tags: trunk) | |
Changes
Changes to test/async.test.
1 2 3 4 5 6 7 8 | # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file runs all tests. # | | > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file runs all tests. # # $Id: async.test,v 1.19 2009/04/11 10:25:04 danielk1977 Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl if {[catch {sqlite3async_enable}]} { # The async logic is not built into this system finish_test return } rename finish_test async_really_finish_test proc finish_test {} { catch {db close} catch {db2 close} catch {db3 close} } if {[info exists ISQUICK]} { set ASYNC_SAVE_ISQUICK $ISQUICK } set ISQUICK 1 set ASYNC_INCLUDE { insert.test insert2.test insert3.test lock.test lock2.test lock3.test select1.test |
︙ | ︙ | |||
49 50 51 52 53 54 55 | sqlite3async_halt idle sqlite3async_wait sqlite3async_halt never } foreach testfile [lsort -dictionary [glob $testdir/*.test]] { set tail [file tail $testfile] | | | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | sqlite3async_halt idle sqlite3async_wait sqlite3async_halt never } foreach testfile [lsort -dictionary [glob $testdir/*.test]] { set tail [file tail $testfile] if {[lsearch -exact $ASYNC_INCLUDE $tail]<0} continue source $testfile # Make sure everything is flushed through. This is because [source]ing # the next test file will delete the database file on disk (using # [file delete]). If the asynchronous backend still has the file # open, it will become confused. # |
︙ | ︙ | |||
73 74 75 76 77 78 79 | sqlite3async_halt idle sqlite3async_start sqlite3async_wait sqlite3async_halt never sqlite3async_enable 0 set sqlite3async_trace 0 | < > > > > | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | sqlite3async_halt idle sqlite3async_start sqlite3async_wait sqlite3async_halt never sqlite3async_enable 0 set sqlite3async_trace 0 rename do_test {} rename async_really_do_test do_test rename finish_test {} rename async_really_finish_test finish_test if {[info exists ASYNC_SAVE_ISQUICK]} { set ISQUICK $ASYNC_SAVE_ISQUICK } finish_test |