*** DRAFT ***

SQLite Requirement Matrix Details
db_filename.html

Index Summary Markup Original


R-31200-13290-19748-06553-12904-19504-15586-34616 tcl slt th3 src

The sqlite3_db_filename(D,N) interface returns a pointer to the filename associated with database N of connection D.

th3/cov1/attach04.test:44

/* IMP: R-31200-13290 */
# EVIDENCE-OF: R-31200-13290 The sqlite3_db_filename(D,N) interface
# returns a pointer to the filename associated with database N of
# connection D.

R-63920-18609-57046-60110-46900-57278-33644-19241 tcl slt th3 src

If there is no attached database N on the database connection D, or if database N is a temporary or in-memory database, then this function will return either a NULL pointer or an empty string.

/* IMP: R-63920-18609 */
# EVIDENCE-OF: R-63920-18609 If there is no attached database N on the
# database connection D, or if database N is a temporary or in-memory
# database, then this function will return either a NULL pointer or an
# empty string.

R-53717-22688-52875-42885-33071-58467-09778-10973 tcl slt th3 src

The string value returned by this routine is owned and managed by the database connection.

/* IMP: R-53717-22688 */
# EVIDENCE-OF: R-53717-22688 The string value returned by this routine
# is owned and managed by the database connection.

R-50620-43692-22262-08233-20574-62920-57833-55280 tcl slt th3 src

The value will be valid until the database N is DETACH-ed or until the database connection closes.

/* IMP: R-50620-43692 */
# EVIDENCE-OF: R-50620-43692 The value will be valid until the database
# N is DETACH-ed or until the database connection closes.

R-41640-10889-37891-53855-47925-09375-30702-30304 tcl slt th3 src

The filename returned by this function is the output of the xFullPathname method of the VFS.

th3/cov1/attach04.test:48

/* IMP: R-41640-10889 */
# EVIDENCE-OF: R-41640-10889 The filename returned by this function is
# the output of the xFullPathname method of the VFS.

R-42868-39706-29794-00885-30480-27776-00308-11610 tcl slt th3 src

In other words, the filename will be an absolute pathname, even if the filename used to open the database originally was a URI or relative pathname.

th3/cov1/attach04.test:51

/* IMP: R-42868-39706 */
# EVIDENCE-OF: R-42868-39706 In other words, the filename will be an
# absolute pathname, even if the filename used to open the database
# originally was a URI or relative pathname.