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