blob: a035b72c3d6faf56cb851aba42b96bf026dbdeb0 (
plain)
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
37
38
39
|
--- test/incrvacuum.test
+++ test/incrvacuum.test
@@ -444,6 +444,8 @@
list [expr {[file size test.db] / 1024}]
} {20}
+ if {$::nRow < $::iWrite} break
+
do_test incrvacuum-7.${::iWrite}.3 {
execsql {
SELECT * FROM tbl1;
@@ -690,7 +692,8 @@
# statement when the database is empty, but doesn't execute it until
# after some other process has created the database.
#
-db2 close
+# DBSQL does not do "db2 close" here because incrvacuum-12.2 is excluded
+# so db2 is not opended.
db close
forcedelete test.db test.db-journal
sqlite3 db test.db ; set ::DB [sqlite3_connection_pointer db]
@@ -736,8 +739,8 @@
catchsql {
PRAGMA incremental_vacuum(10);
} db3
+ db3 close
} {1 {file is encrypted or is not a database}}
- db3 close
}
do_test incrvacuum-15.1 {
--- test/vacuum4.test
+++ test/vacuum4.test
@@ -65,3 +65,5 @@
VACUUM;
}
} {}
+
+finish_test
|