Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix bug in the server1 test script. (CVS 2911) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
25db22b6711590214f4f953e6e3cf6be |
User & Date: | drh 2006-01-10 20:36:40.000 |
Context
2006-01-10
| ||
23:00 | Fix a typo in the FAQ. (CVS 2912) (check-in: 5be03a361d user: drh tags: trunk) | |
20:36 | Fix bug in the server1 test script. (CVS 2911) (check-in: 25db22b671 user: drh tags: trunk) | |
20:32 | Combine multiple small calls to sqlite3OsWrite into one larger call. (CVS 2910) (check-in: e6e6750c24 user: drh tags: trunk) | |
Changes
Changes to test/server1.test.
︙ | ︙ | |||
9 10 11 12 13 14 15 | # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this script is testing the server mode of SQLite. # # This file is derived from thread1.test # | | | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this script is testing the server mode of SQLite. # # This file is derived from thread1.test # # $Id: server1.test,v 1.3 2006/01/10 20:36:40 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl # Skip this whole file if the server testing code is not enabled # |
︙ | ︙ | |||
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | client_step C client_result C client_finalize C client_result C } SQLITE_LOCKED do_test server1-2.5 { client_finalize B client_compile C {INSERT INTO t1 VALUES(98,99)} client_step C client_result C client_finalize C client_result C } SQLITE_LOCKED # Insert into t1 is successful after finishing the other two threads. do_test server1-2.6 { client_finalize A client_compile C {INSERT INTO t1 VALUES(98,99)} client_step C client_result C client_finalize C client_result C } SQLITE_OK client_halt * finish_test | > > | 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | client_step C client_result C client_finalize C client_result C } SQLITE_LOCKED do_test server1-2.5 { client_finalize B client_wait B client_compile C {INSERT INTO t1 VALUES(98,99)} client_step C client_result C client_finalize C client_result C } SQLITE_LOCKED # Insert into t1 is successful after finishing the other two threads. do_test server1-2.6 { client_finalize A client_wait A client_compile C {INSERT INTO t1 VALUES(98,99)} client_step C client_result C client_finalize C client_result C } SQLITE_OK client_halt * finish_test |