On 2/2/2017 8:11 AM, Simon Slavin wrote:
So would it be possible to detect someone using _prepare() on an existing statement and return SQLITE_MISUSE ?
Well, one could be passing an address of uninitialized variable to sqlite_prepare. You probably don't want to error out if the random garbage it contains just accidentally happens to match a valid statement handle. That kind of heisenbug would be a doozy to debug.
-- Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users