Small. Fast. Reliable.
Choose any three.

SQLite Requirement Matrix Details
initialize.html

Index Summary Markup Original


R-02355-51069-10404-51667-09139-26886-58872-12048 tcl slt th3 src

The sqlite3_initialize() routine initializes the SQLite library.

/* IMP: R-02355-51069 */
# EVIDENCE-OF: R-02355-51069 The sqlite3_initialize() routine
# initializes the SQLite library.

R-63748-42498-08000-42048-14533-30815-48804-51551 tcl slt th3 src

The sqlite3_shutdown() routine deallocates any resources that were allocated by sqlite3_initialize().

/* IMP: R-63748-42498 */
# EVIDENCE-OF: R-63748-42498 The sqlite3_shutdown() routine deallocates
# any resources that were allocated by sqlite3_initialize().

R-40912-17796-52858-33167-65116-31464-10604-52940 tcl slt th3 src

Only an effective call of sqlite3_initialize() does any initialization. All other calls are harmless no-ops.

/* IMP: R-40912-17796 */
# EVIDENCE-OF: R-40912-17796 Only an effective call of
# sqlite3_initialize() does any initialization. All other calls are
# harmless no-ops.

R-43620-20913-52855-36210-21307-33610-27291-15644 tcl slt th3 src

Only an effective call to sqlite3_shutdown() does any deinitialization. All other valid calls to sqlite3_shutdown() are harmless no-ops.

/* IMP: R-43620-20913 */
# EVIDENCE-OF: R-43620-20913 Only an effective call to
# sqlite3_shutdown() does any deinitialization. All other valid calls to
# sqlite3_shutdown() are harmless no-ops.

R-50185-15050-31039-59683-34271-57411-13572-34990 tcl slt th3 src

sqlite3_initialize() will invoke sqlite3_os_init().

/* IMP: R-50185-15050 */
# EVIDENCE-OF: R-50185-15050 sqlite3_initialize() will invoke
# sqlite3_os_init().

R-65084-00602-21133-41951-43387-02500-18887-33247 tcl slt th3 src

sqlite3_shutdown() will invoke sqlite3_os_end().

/* IMP: R-65084-00602 */
# EVIDENCE-OF: R-65084-00602 sqlite3_shutdown() will invoke
# sqlite3_os_end().

R-21806-43221-13311-12534-07273-62377-06740-15345 tcl slt th3 src

The sqlite3_initialize() routine returns SQLITE_OK on success.

/* IMP: R-21806-43221 */
# EVIDENCE-OF: R-21806-43221 The sqlite3_initialize() routine returns
# SQLITE_OK on success.

R-62702-40333-38179-40885-41988-22128-55744-38762 tcl slt th3 src

If for some reason, sqlite3_initialize() is unable to initialize the library (perhaps it is unable to allocate a needed resource such as a mutex) it returns an error code other than SQLITE_OK.

/* IMP: R-62702-40333 */
# EVIDENCE-OF: R-62702-40333 If for some reason, sqlite3_initialize() is
# unable to initialize the library (perhaps it is unable to allocate a
# needed resource such as a mutex) it returns an error code other than
# SQLITE_OK.

R-55189-15164-61309-44787-48881-65424-27276-43718 tcl slt th3 src

The sqlite3_initialize() routine is called internally by many other SQLite interfaces so that an application usually does not need to invoke sqlite3_initialize() directly.

/* IMP: R-55189-15164 */
# EVIDENCE-OF: R-55189-15164 The sqlite3_initialize() routine is called
# internally by many other SQLite interfaces so that an application
# usually does not need to invoke sqlite3_initialize() directly.

R-51608-43497-31902-60107-31973-18527-41260-25807 tcl slt th3 src

However, if SQLite is compiled with the SQLITE_OMIT_AUTOINIT compile-time option, then the automatic calls to sqlite3_initialize() are omitted and the application must call sqlite3_initialize() directly prior to using any other SQLite interface.

/* IMP: R-51608-43497 */
# EVIDENCE-OF: R-51608-43497 However, if SQLite is compiled with the
# SQLITE_OMIT_AUTOINIT compile-time option, then the automatic calls to
# sqlite3_initialize() are omitted and the application must call
# sqlite3_initialize() directly prior to using any other SQLite
# interface.