]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Do not factor out constant functions into the initialization section at the
authordrh <drh@noemail.net>
Wed, 11 Mar 2020 17:58:27 +0000 (17:58 +0000)
committerdrh <drh@noemail.net>
Wed, 11 Mar 2020 17:58:27 +0000 (17:58 +0000)
commit38dfbdae8a61dd16987d93a6a4bfe0001eab7b3d
treee42174be28df2760fcfda11a127144cbbd537046
parent8d5cea6b61c30dd839a32e253bf7ae241b5662f4
Do not factor out constant functions into the initialization section at the
end of the prepared statement, be cause if they throw an exception, it will
abort the statement even if the function is never called.  Better to put
constant functions in an OP_Once block.

FossilOrigin-Name: 97a18a5cd701848a9660385e31bffe2c397e3cfe57ccdb876f44d08c00d1d39a
manifest
manifest.uuid
src/expr.c
src/vtab.c
test/func5.test