Thanks for the  reply Simon but the wrapper throws an exception if either reset 
or finalize fails to return SQLITE_OK so not that.



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



From: Simon Slavin<mailto:slav...@bigfraud.org>
Sent: 02 February 2017 10:41
To: SQLite mailing list<mailto:sqlite-users@mailinglists.sqlite.org>
Subject: Re: [sqlite] Can stmt SQL be changed?



On 2 Feb 2017, at 9:28am, x <tam118...@hotmail.com> wrote:

> The reused stmt was the only possible culprit so I’m wondering if it’s down 
> to the changed sql?

You can find out.  Both _reset() and _finalize() return a result code just like 
_prepare().  Do the same kind of exception checking for them, just in case 
they’re return an error.  It won’t tell you definitely what’s wrong but it 
might help.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to