Small, Fast, Reliable.
Choose any three.

SQLite C Interface

Enable Or Disable Extended Result Codes

int sqlite3_extended_result_codes(sqlite3*, int onoff);

This routine enables or disables the extended result codes feature. By default, SQLite API routines return one of only 26 integer result codes. When extended result codes are enabled by this routine, the repetoire of result codes can be much larger and can (hopefully) provide more detailed information about the cause of an error.

The second argument is a boolean value that turns extended result codes on and off. Extended result codes are off by default for backwards compatibility with older versions of SQLite.

See also lists of Objects, Constants, and Functions.


This page last modified 2007/11/22 00:41:31 UTC