Name
sqlite3_extended_result_codes() — Enable or disable extended result codes
Definition
int sqlite3_extended_result_codes( sqlite3* db, int enabled );
-
db A database connection.
-
enabled A nonzero value indicates that extended result codes should be turned on, while a zero value indicates that extended result codes should be turned off.
- Returns
An SQLite result code.
Description
This function is used to enable extended result codes. Extended
codes are off by default. When enabled, any API function that
returns an SQLite result code may return an extended code. The
extended code is always available using sqlite3_extended_errcode().
See Also
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access