Re: [sqlite] SQLITE_MISUE returned from sqlite3_step with inconsistent errMsg

2012-08-31 Thread Dan Kennedy
On 08/31/2012 12:42 PM, Daniel Dawson wrote: Hey Guys, I am calling sqlite3_step and checking the return value, Usually I get an SQLITE_DONE, or an SQLITE_BUSY which I handle. However, sometimes I get an SQLITE_MISUSE return code. If I call sqlite3_errmsg straight after receiving the code

Re: [sqlite] SQLITE_MISUE returned from sqlite3_step with inconsistent errMsg

2012-08-31 Thread Simon Slavin
On 31 Aug 2012, at 6:42am, Daniel Dawson wrote: > I am calling sqlite3_step and checking the return value, > > Usually I get an SQLITE_DONE, or an SQLITE_BUSY which I handle. > > However, sometimes I get an SQLITE_MISUSE return code. If I call > sqlite3_errmsg

[sqlite] SQLITE_MISUE returned from sqlite3_step with inconsistent errMsg

2012-08-30 Thread Daniel Dawson
Hey Guys, I am calling sqlite3_step and checking the return value, Usually I get an SQLITE_DONE, or an SQLITE_BUSY which I handle. However, sometimes I get an SQLITE_MISUSE return code. If I call sqlite3_errmsg straight after receiving the code then I get "Database is Locked" - The