Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Update some test cases to work with SQLITE_OMIT_VIRTUALTABLE and DEFAULT_AUTOVACUUM builds. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4b68f424ca9b5d4b0e77065a4e60ec0f |
User & Date: | dan 2017-10-12 11:13:34.180 |
Context
2017-10-12
| ||
11:33 | Fix a potential crash that may follow an OOM or other system error in the shell tool. (check-in: c36761e1a0 user: dan tags: trunk) | |
11:13 | Update some test cases to work with SQLITE_OMIT_VIRTUALTABLE and DEFAULT_AUTOVACUUM builds. (check-in: 4b68f424ca user: dan tags: trunk) | |
2017-10-11
| ||
20:27 | Add test file mmapwarm.test. With tests for the sqlite3_mmap_warm() extension. (check-in: 5c4980ef17 user: dan tags: trunk) | |
Changes
Changes to test/bigmmap.test.
︙ | ︙ | |||
16 17 18 19 20 21 22 | if {[file exists skip-big-file]} return if {$tcl_platform(os)=="Darwin"} return set testdir [file dirname $argv0] source $testdir/tester.tcl set testprefix bigmmap | | | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | if {[file exists skip-big-file]} return if {$tcl_platform(os)=="Darwin"} return set testdir [file dirname $argv0] source $testdir/tester.tcl set testprefix bigmmap ifcapable !mmap||!vtab { finish_test return } set mmap_limit 0 db eval { SELECT compile_options AS x FROM pragma_compile_options |
︙ | ︙ |
Changes to test/mmapwarm.test.
︙ | ︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 | sqlite3 db test.db } set testprefix mmapwarm do_execsql_test 1.0 { CREATE TABLE t1(x, y); WITH s(i) AS ( SELECT 1 UNION ALL SELECT i+1 FROM s WHERE i<500 ) INSERT INTO t1 SELECT randomblob(400), randomblob(500) FROM s; PRAGMA page_count; } {507} | > | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | sqlite3 db test.db } set testprefix mmapwarm do_execsql_test 1.0 { PRAGMA auto_vacuum = 0; CREATE TABLE t1(x, y); WITH s(i) AS ( SELECT 1 UNION ALL SELECT i+1 FROM s WHERE i<500 ) INSERT INTO t1 SELECT randomblob(400), randomblob(500) FROM s; PRAGMA page_count; } {507} |
︙ | ︙ |
Changes to test/whereF.test.
︙ | ︙ | |||
175 176 177 178 179 180 181 | ) } {4} do_test 5.6 { expr [db status vmstep]<200 } 1 # 2017-09-04 ticket b899b6042f97f52d # Segfault on correlated subquery... # | | | 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | ) } {4} do_test 5.6 { expr [db status vmstep]<200 } 1 # 2017-09-04 ticket b899b6042f97f52d # Segfault on correlated subquery... # ifcapable json1&&vtab { do_execsql_test 6.1 { CREATE TABLE t6(x); SELECT * FROM t6 WHERE 1 IN (SELECT value FROM json_each(x)); } {} do_execsql_test 6.2 { DROP TABLE t6; |
︙ | ︙ |