Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Clean up a variable in tkt2409.test that would cause subsequent tests to fail. (CVS 4065) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
0f944cb9fbe30c2a7ec36b7dc7e21fb3 |
User & Date: | drh 2007-06-15 12:41:02 |
Context
2007-06-15
| ||
13:57 | Do not try to run the fuzz_malloc tests if SQLITE_MEMDEBUG is not enabled. (CVS 4066) check-in: 45211595 user: drh tags: trunk | |
12:41 | Clean up a variable in tkt2409.test that would cause subsequent tests to fail. (CVS 4065) check-in: 0f944cb9 user: drh tags: trunk | |
12:16 | Documentation updates in preparation for 3.4.0. (CVS 4064) check-in: 5232fd29 user: drh tags: trunk | |
Changes
Changes to test/tkt2409.test.
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
...
205
206
207
208
209
210
211
212
213
|
# # This file implements tests to verify that ticket #2409 has been # fixed. More specifically, they verify that if SQLite cannot # obtain an EXCLUSIVE lock while trying to spill the cache during # any statement other than a COMMIT, an I/O error is returned instead # of SQLITE_BUSY. # # $Id: tkt2409.test,v 1.1 2007/06/13 15:22:28 danielk1977 Exp $ # Test Outline: # # tkt-2409-1.*: Cause a cache-spill during an INSERT that is within # a db transaction but does not start a statement transaction. # Verify that the transaction is automatically rolled back # and SQLITE_IOERR_BLOCKED is returned ................................................................................ do_test tkt2409-4.4 { catchsql { ROLLBACK } } {1 {cannot rollback - no transaction is active}} unread_lock_db db2 close finish_test |
|
>
<
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
...
205
206
207
208
209
210
211
212
213
|
# # This file implements tests to verify that ticket #2409 has been # fixed. More specifically, they verify that if SQLite cannot # obtain an EXCLUSIVE lock while trying to spill the cache during # any statement other than a COMMIT, an I/O error is returned instead # of SQLITE_BUSY. # # $Id: tkt2409.test,v 1.2 2007/06/15 12:41:02 drh Exp $ # Test Outline: # # tkt-2409-1.*: Cause a cache-spill during an INSERT that is within # a db transaction but does not start a statement transaction. # Verify that the transaction is automatically rolled back # and SQLITE_IOERR_BLOCKED is returned ................................................................................ do_test tkt2409-4.4 { catchsql { ROLLBACK } } {1 {cannot rollback - no transaction is active}} unread_lock_db db2 close unset -nocomplain t1 finish_test |