Small. Fast. Reliable.
Choose any three.

SQLite Requirement Matrix Details
str_errcode.html

Index Summary Markup Original


R-08681-56652-45784-02729-28742-19539-49862-48727 tcl slt th3 src

If any prior errors have occurred while constructing the dynamic string in sqlite3_str X, then the sqlite3_str_errcode(X) method will return an appropriate error code.

/* IMP: R-08681-56652 */
# EVIDENCE-OF: R-08681-56652 If any prior errors have occurred while
# constructing the dynamic string in sqlite3_str X, then the
# sqlite3_str_errcode(X) method will return an appropriate error code.

R-39084-14613-42485-09805-36660-25752-30462-34243 tcl slt th3 src

The sqlite3_str_errcode(X) method returns SQLITE_NOMEM following any out-of-memory error, or SQLITE_TOOBIG if the size of the dynamic string exceeds SQLITE_MAX_LENGTH, or SQLITE_OK if there have been no errors.

/* IMP: R-39084-14613 */
# EVIDENCE-OF: R-39084-14613 The sqlite3_str_errcode(X) method returns
# SQLITE_NOMEM following any out-of-memory error, or SQLITE_TOOBIG if
# the size of the dynamic string exceeds SQLITE_MAX_LENGTH, or SQLITE_OK
# if there have been no errors.

R-40490-08523-63255-17373-12821-43863-07916-14588 tcl slt th3 src

The sqlite3_str_length(X) method returns the current length, in bytes, of the dynamic string under construction in sqlite3_str object X.

/* IMP: R-40490-08523 */
# EVIDENCE-OF: R-40490-08523 The sqlite3_str_length(X) method returns
# the current length, in bytes, of the dynamic string under construction
# in sqlite3_str object X.

R-01458-26582-43530-33153-47185-57731-56963-27513 tcl slt th3 src

The length returned by sqlite3_str_length(X) does not include the zero-termination byte.

/* IMP: R-01458-26582 */
# EVIDENCE-OF: R-01458-26582 The length returned by
# sqlite3_str_length(X) does not include the zero-termination byte.

R-54219-22147-53235-46719-19479-08650-29878-29792 tcl slt th3 src

The sqlite3_str_value(X) method returns a pointer to the current content of the dynamic string under construction in X.

/* IMP: R-54219-22147 */
# EVIDENCE-OF: R-54219-22147 The sqlite3_str_value(X) method returns a
# pointer to the current content of the dynamic string under
# construction in X.

R-63304-47938-37544-24083-32523-59339-12063-04475 tcl slt th3 src

Applications may change the content of the string returned by sqlite3_str_value(X) as long as they do not write into any bytes outside the range of 0 to sqlite3_str_length(X) and do not read or write any byte after any subsequent sqlite3_str method call.

/* IMP: R-63304-47938 */
# EVIDENCE-OF: R-63304-47938 Applications may change the content of the
# string returned by sqlite3_str_value(X) as long as they do not write
# into any bytes outside the range of 0 to sqlite3_str_length(X) and do
# not read or write any byte after any subsequent sqlite3_str method
# call.