Ive been getting SQLITE_MISUSE errors after calling sqlite3_step one
more time than required.  Im using sqlite3_prepare_v2 so im expecting
detailed error messages, but when i call sqlite3_errmsg all i seem to
get is "not an error".

So my question is this.  What is an error ?  It seems a little
confusing becuase there is a SQLITE_ERROR code, and also a number of
other detailed codes which i assume represent forms of errors.

The old version of sqlite3_step used to return SQLITE_ERROR, and then
you would call sqlite3_reset to get the detailed error code.  This
implies that the other codes are in fact errors.  Am i correct in
assuming that SQLITE_MISUSE is a form of error ?  Is there some subset
of the error codes which work with sqlite3_errmsg ?

I would have expected the error message that i got for SQLITE_MISUSE
to be "library used incorectly" or some string other than "not an
error".

Emerson

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to