Small. Fast. Reliable.
Choose any three.

SQLite Requirement Matrix Details
blob_close.html

Index Summary Markup Original


R-03145-46390-59121-11550-39703-00062-43990-26586 tcl slt th3 src

This function closes an open BLOB handle.

tcl/e_blobclose.test:32

/* IMP: R-03145-46390 */
# EVIDENCE-OF: R-03145-46390 This function closes an open BLOB handle.

R-37801-37633-06717-41084-61304-63724-52548-02844 tcl slt th3 src

The BLOB handle is closed unconditionally. Even if this routine returns an error code, the handle is still closed.

tcl/e_blobclose.test:149

/* IMP: R-37801-37633 */
# EVIDENCE-OF: R-37801-37633 The BLOB handle is closed unconditionally.
# Even if this routine returns an error code, the handle is still
# closed.

R-34027-00617-24854-21763-47858-39540-20896-63477 tcl slt th3 src

If the blob handle being closed was opened for read-write access, and if the database is in auto-commit mode and there are no other open read-write blob handles or active write statements, the current transaction is committed.

tcl/e_blobclose.test:46

/* IMP: R-34027-00617 */
# EVIDENCE-OF: R-34027-00617 If the blob handle being closed was opened
# for read-write access, and if the database is in auto-commit mode and
# there are no other open read-write blob handles or active write
# statements, the current transaction is committed.

R-35111-05628-59609-35925-11859-38596-24754-51119 tcl slt th3 src

If an error occurs while committing the transaction, an error code is returned and the transaction rolled back.

tcl/e_blobclose.test:158

/* IMP: R-35111-05628 */
# EVIDENCE-OF: R-35111-05628 If an error occurs while committing the
# transaction, an error code is returned and the transaction rolled
# back.

R-25894-51060-18040-53125-15120-62396-36354-30863 tcl slt th3 src

Calling this routine with a null pointer (such as would be returned by a failed call to sqlite3_blob_open()) is a harmless no-op.

tcl/e_blobclose.test:169   th3/cov1/vdbeblob01.test:179

/* IMP: R-25894-51060 */
# EVIDENCE-OF: R-25894-51060 Calling this routine with a null pointer
# (such as would be returned by a failed call to sqlite3_blob_open()) is
# a harmless no-op.

R-41959-38737-02891-22407-44809-18467-12520-20988 tcl slt th3 src

Otherwise, if this function is passed a valid open blob handle, the values returned by the sqlite3_errcode() and sqlite3_errmsg() functions are set before returning.

tcl/e_blobclose.test:141

/* IMP: R-41959-38737 */
# EVIDENCE-OF: R-41959-38737 Otherwise, if this function is passed a
# valid open blob handle, the values returned by the sqlite3_errcode()
# and sqlite3_errmsg() functions are set before returning.