Name
sqlite3_extended_errcode() — Get extended error code for last failed API call
Definition
int sqlite3_extended_errcode( sqlite3* db );
-
db
A database connection.
- Returns
An extended error code.
Description
This function is similar to sqlite3_errcode()
, except that it will always
return an extended error code, even if extended result codes are
not enabled.
If SQLite is being used in a threaded environment, this function
is subject to the same concerns as sqlite3_errcode()
.
If an API call returns SQLITE_MISUSE
, it indicates an application
error. In that case, the result code may or may not be available
to sqlite3_extended_errcode()
.
Get Using SQLite now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.