]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Add the SQLITE_RESULT_SUBTYPE flag for application-defined functions. Add
authordrh <>
Thu, 9 Nov 2023 17:42:46 +0000 (17:42 +0000)
committerdrh <>
Thu, 9 Nov 2023 17:42:46 +0000 (17:42 +0000)
commit599e56af764f6c552eb52b459c7bc3dfed4e92e9
tree0c6acc78ffcf38fbf5a9b0ade3023d137acf3e50
parent5e34405f749af6afc5b2ac9bf649521257741f64
Add the SQLITE_RESULT_SUBTYPE flag for application-defined functions.  Add
the -DSQLITE_STRICT_SUBTYPE=1 compile-time option that raises an error if
any function invokes sqlite3_result_subtype() without the SQLITE_RESULT_SUBTYPE
flag.  SQLITE_RESULT_SUBTYPE prevents an indexed value of that function from
being used to replace an equivalent expression, since the indexed expression
does not carry the subtype.

FossilOrigin-Name: 65a9cfc466d3d904af50fa5eba46d29c5a24e7dde06e5c50c03b343723be7441
manifest
manifest.uuid
src/json.c
src/main.c
src/sqlite.h.in
src/sqliteInt.h
src/vdbeapi.c
src/where.c
src/window.c
test/indexexpr1.test