Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | In test case incrvacuum-15.1 close both db handles (db and db2) before attempting to delete test.db. Ticket #3614. (CVS 6216) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e764a7c5d369e2ff736d662b1209b3d5 |
User & Date: | shane 2009-01-30 05:47:15.000 |
Context
2009-01-30
| ||
05:59 | Implemented the SQLITE_LAST_ERRNO op in the xFileControl() method of os_win.c. Ticket #3615. (CVS 6217) (check-in: 9ea871f3e8 user: shane tags: trunk) | |
05:47 | In test case incrvacuum-15.1 close both db handles (db and db2) before attempting to delete test.db. Ticket #3614. (CVS 6216) (check-in: e764a7c5d3 user: shane tags: trunk) | |
05:40 | Minor changes to remove a few MSVC compiler warnings at /W3. Ticket #3610. (CVS 6215) (check-in: c74c78e4eb user: shane tags: trunk) | |
Changes
Changes to test/incrvacuum.test.
︙ | ︙ | |||
10 11 12 13 14 15 16 | #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is testing the incremental vacuum feature. # # Note: There are also some tests for incremental vacuum and IO # errors in incrvacuum_ioerr.test. # | | | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is testing the incremental vacuum feature. # # Note: There are also some tests for incremental vacuum and IO # errors in incrvacuum_ioerr.test. # # $Id: incrvacuum.test,v 1.22 2009/01/30 05:47:15 shane Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl # If this build of the library does not support auto-vacuum, omit this # whole file. ifcapable {!autovacuum || !pragma} { |
︙ | ︙ | |||
730 731 732 733 734 735 736 737 738 739 740 741 742 743 | catchsql { PRAGMA incremental_vacuum(10); } db3 } {1 {file is encrypted or is not a database}} do_test incrvacuum-15.1 { db close file delete -force test.db sqlite3 db test.db set str [string repeat "abcdefghij" 500] execsql { PRAGMA cache_size = 10; | > | 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 | catchsql { PRAGMA incremental_vacuum(10); } db3 } {1 {file is encrypted or is not a database}} do_test incrvacuum-15.1 { db close db2 close file delete -force test.db sqlite3 db test.db set str [string repeat "abcdefghij" 500] execsql { PRAGMA cache_size = 10; |
︙ | ︙ | |||
770 771 772 773 774 775 776 | execsql { COMMIT; PRAGMA integrity_check; } } {ok} | < | 771 772 773 774 775 776 777 778 779 | execsql { COMMIT; PRAGMA integrity_check; } } {ok} db3 close finish_test |