ports/databases/sqlite3/files/patch-test_uri.test
Pavel Volkov 5e8b3d783d databases/sqlite3: Update to 3.40.0
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)
2022-11-28 17:54:42 +01:00

16 lines
775 B
Plaintext

--- test/uri.test.orig 2022-11-27 09:14:11 UTC
+++ test/uri.test
@@ -301,9 +301,9 @@ foreach {tn uri res} {
1 "file://localhost/PWD/test.db" {not an error}
2 "file:///PWD/test.db" {not an error}
3 "file:/PWD/test.db" {not an error}
- 4 "file://l%6Fcalhost/PWD/test.db" {invalid uri authority: l%6Fcalhost}
- 5 "file://lbcalhost/PWD/test.db" {invalid uri authority: lbcalhost}
- 6 "file://x/PWD/test.db" {invalid uri authority: x}
+ 4 "file://l%6Fcalhost/PWD/test.db" {unable to open database file}
+ 5 "file://lbcalhost/PWD/test.db" {unable to open database file}
+ 6 "file://x/PWD/test.db" {unable to open database file}
} {
if {$tcl_platform(platform)=="windows"} {