]> 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:36:37 +0000 (17:36 +0000)
committerdrh <>
Thu, 9 Nov 2023 17:36:37 +0000 (17:36 +0000)
commit3839dcf97324b76af86f21a08ba27dcc4a3f6986
tree15944daf40f2ddcf513542a0430824b2171ef280
parent2009a5acba967eab68304cdb8feeb340f5a45782
parentbeb06e6b0a17b732ca0ab7e416891175eb87d3af
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.  Fix for the problem described at
[forum:/forumpost/68d284c86b082c3e|forum post 68d284c86b082c3e].

FossilOrigin-Name: ba789a7804ab96d81b15d6ef6fed1f802fa69db47cf91d368933e55289fa1d6e
manifest
manifest.uuid
src/json.c