>From API docs: [quote] The sqlite3_errcode() interface returns the numeric result code or extended result code for the most recent failed sqlite3_* API call associated with sqlite3 handle 'db'. If a prior API call failed but the most recent API call succeeded, the return value from sqlite3_errcode() is undefined. [/quote]
I find this contract very inconvenient, as for each API call I would like to know exactly whether it had succeeded. I suppose that the same contract applies to int return values from sqlite3_* calls -- for example, docs for sqlite3_finalize() state that the return code can be an error from previous execution of the statement. So in the latter case I'm not able to tell whether it was sqlite3_finalize() that failed, or some previous call. Is there any known solutions to this problem, probably some functions to reset error codes that apply to the sqlite3* or sqlite3_stmt* ? Thanks! Igor ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------