Re: How to prevent sqlite_reset reporting an already known error
Simon Slavin <[email protected]> Thu, 27 Feb 2020 00:57:03 +0000
| Newsgroups | gmane.comp.db.sqlite.general |
|---|---|
| Message-ID | <[email protected]> |
On 26 Feb 2020, at 11:58pm, mailing lists <[email protected]> wrote: > The issue is that sqlite_reset() reports the same error that already sqlite3_step() reported. How can I prevent that sqlite_reset() reports the same error. You can't. It's working as designed. One would normally test the result that sqlite_reset() returns, making sure it is either SQLITE_OK or the error you got from sqlite3_step(). However I see you're using a wrapper that makes it difficult. _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users