ChangeLog: https://www.sqlite.org/releaselog/3_40_0.html * Add support for compiling SQLite to WASM and running it in web browsers. * Add the recovery extension that might be able to recover some content from a corrupt database file. * Query planner enhancements: * A new typedef named sqlite3_filename is added and used to represent the name of a database file. * Add the sqlite3_value_encoding() interface. * Security enhancement: SQLITE_DBCONFIG_DEFENSIVE is augmented to prohibit changing the schema_version. * Enhancements to the PRAGMA integrity_check statement: * Enhance the VACUUM INTO statement so that it honors the PRAGMA synchronous setting. * Enhance the sqlite3_strglob() and sqlite3_strlike() APIs * Provide the new SQLITE_MAX_ALLOCATION_SIZE compile-time option for limiting the size of memory allocations. * Change the algorithm used by SQLite's built-in pseudo-random number generator (PRNG) from RC4 to Chacha20. * Allow two or more indexes to have the same name as long as they are all in separate schemas. * Miscellaneous performance optimizations result in about 1% fewer CPU cycles used on typical workloads. PR: 268012 Reported by: pavelivolkov@gmail.com (maintainer)
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
--- test/scanstatus.test.orig 2022-11-27 11:40:24 UTC
|
|
+++ test/scanstatus.test
|
|
@@ -312,8 +312,8 @@ do_scanstatus_test 5.1.2 {
|
|
SELECT count(*) FROM t1 WHERE a IN (SELECT b FROM t1 AS ii)
|
|
} {2}
|
|
do_scanstatus_test 5.1.2 {
|
|
- nLoop 1 nVisit 10 nEst 10.0 zName t1bc
|
|
- zExplain {SCAN ii USING COVERING INDEX t1bc}
|
|
+ nLoop 1 nVisit 10 nEst 10.0 zName t1
|
|
+ zExplain {SCAN ii}
|
|
nLoop 1 nVisit 2 nEst 8.0 zName sqlite_autoindex_t1_1
|
|
zExplain {SEARCH t1 USING COVERING INDEX sqlite_autoindex_t1_1 (a=?)}
|
|
}
|
|
@@ -341,16 +341,16 @@ do_eqp_test 5.4.1 {
|
|
SELECT count(*) FROM t1, t2 WHERE y = c;
|
|
} {
|
|
QUERY PLAN
|
|
- |--SCAN t1 USING COVERING INDEX t1bc
|
|
+ |--SCAN t1
|
|
`--SEARCH t2 USING COVERING INDEX t2xy (ANY(x) AND y=?)
|
|
}
|
|
do_execsql_test 5.4.2 {
|
|
SELECT count(*) FROM t1, t2 WHERE y = c;
|
|
} {200}
|
|
do_scanstatus_test 5.4.3 {
|
|
- nLoop 1 nVisit 10 nEst 10.0 zName t1bc
|
|
- zExplain {SCAN t1 USING COVERING INDEX t1bc}
|
|
- nLoop 10 nVisit 200 nEst 56.0 zName t2xy
|
|
+ nLoop 1 nVisit 10 nEst 10.0 zName t1
|
|
+ zExplain {SCAN t1}
|
|
+ nLoop 10 nVisit 200 nEst 56.0 zName t2xy
|
|
zExplain {SEARCH t2 USING COVERING INDEX t2xy (ANY(x) AND y=?)}
|
|
}
|
|
|