This is in the documentation of sqlite3_errcode():

If the most recent API call was successful, then the return value from
sqlite3_errcode() is undefined.

I can see that if there is no error then then return value of
sqlite3_errcode() can be SQLITE_ROW (100) or SQLITE_DONE (101). So, to
check if there is an error (other than looking at all the
return values) do I need to check that sqlite3_errcode() returns something
other than 0, 100 or 101 or are there other values that could be returned
that don't indicate an error?


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

Reply via email to