diff options
author | drh <drh@noemail.net> | 2015-03-17 20:39:11 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-03-17 20:39:11 +0000 |
commit | d671e66337d40fe53625abe36404a155e95aa400 (patch) | |
tree | 2c4b696bf8e5a32b301650f67f88f846e105268b /src | |
parent | 5572f7e42e6f819b44289a1150d063c261cccef9 (diff) | |
download | sqlite-d671e66337d40fe53625abe36404a155e95aa400.tar.gz sqlite-d671e66337d40fe53625abe36404a155e95aa400.zip |
Clarify the documentation on sqlite3_errcode(). No changes to code.
FossilOrigin-Name: 2c0e0d87fb418d684fba1c83d9fd8e4e96588c54
Diffstat (limited to 'src')
-rw-r--r-- | src/sqlite.h.in | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in index 483534e49..ed0318fe3 100644 --- a/src/sqlite.h.in +++ b/src/sqlite.h.in @@ -3000,11 +3000,13 @@ sqlite3_int64 sqlite3_uri_int64(const char*, const char*, sqlite3_int64); /* ** CAPI3REF: Error Codes And Messages ** -** ^The sqlite3_errcode() interface returns the numeric [result code] or -** [extended result code] for the most recent failed sqlite3_* API call -** associated with a [database connection]. If a prior API call failed -** but the most recent API call succeeded, the return value from -** sqlite3_errcode() is undefined. ^The sqlite3_extended_errcode() +** ^If the most recent sqlite3_* API call associated with +** [database connection] D failed, then the sqlite3_errcode(D) interface +** returns the numeric [result code] or [extended result code] for that +** API call. +** If the most recent API call was successful, +** then the return value from sqlite3_errcode() is undefined. +** ^The sqlite3_extended_errcode() ** interface is the same except that it always returns the ** [extended result code] even when extended result codes are ** disabled. |