*** DRAFT ***

SQLite Requirement Matrix Details
create_module.html

Index Summary Markup Original


R-19069-01001-21275-64198-08959-57544-11845-18751 tcl slt th3 src

These routines are used to register a new virtual table module name.

/* IMP: R-19069-01001 */
# EVIDENCE-OF: R-19069-01001 These routines are used to register a new
# virtual table module name.

R-33496-49460-40885-47410-47365-30809-19419-02033 tcl slt th3 src

Module names must be registered before creating a new virtual table using the module and before using a preexisting virtual table for the module.

/* IMP: R-33496-49460 */
# EVIDENCE-OF: R-33496-49460 Module names must be registered before
# creating a new virtual table using the module and before using a
# preexisting virtual table for the module.

R-62782-27113-42237-60058-30893-13916-02478-23717 tcl slt th3 src

The module name is registered on the database connection specified by the first parameter.

/* IMP: R-62782-27113 */
# EVIDENCE-OF: R-62782-27113 The module name is registered on the
# database connection specified by the first parameter.

R-59843-56897-36550-00278-28044-49330-04836-60246 tcl slt th3 src

The name of the module is given by the second parameter.

/* IMP: R-59843-56897 */
# EVIDENCE-OF: R-59843-56897 The name of the module is given by the
# second parameter.

R-52722-37312-59730-59343-41826-18723-03600-14255 tcl slt th3 src

The third parameter is a pointer to the implementation of the virtual table module.

/* IMP: R-52722-37312 */
# EVIDENCE-OF: R-52722-37312 The third parameter is a pointer to the
# implementation of the virtual table module.

R-06396-00487-24665-04701-02670-39583-42617-54638 tcl slt th3 src

The fourth parameter is an arbitrary client data pointer that is passed through into the xCreate and xConnect methods of the virtual table module when a new virtual table is be being created or reinitialized.

/* IMP: R-06396-00487 */
# EVIDENCE-OF: R-06396-00487 The fourth parameter is an arbitrary client
# data pointer that is passed through into the xCreate and xConnect
# methods of the virtual table module when a new virtual table is be
# being created or reinitialized.

R-17644-02150-10619-56225-58542-30426-53377-14747 tcl slt th3 src

The sqlite3_create_module_v2() interface has a fifth parameter which is a pointer to a destructor for the pClientData.

/* IMP: R-17644-02150 */
# EVIDENCE-OF: R-17644-02150 The sqlite3_create_module_v2() interface
# has a fifth parameter which is a pointer to a destructor for the
# pClientData.

R-25726-27770-20459-03461-13607-13171-18925-23787 tcl slt th3 src

SQLite will invoke the destructor function (if it is not NULL) when SQLite no longer needs the pClientData pointer.

/* IMP: R-25726-27770 */
# EVIDENCE-OF: R-25726-27770 SQLite will invoke the destructor function
# (if it is not NULL) when SQLite no longer needs the pClientData
# pointer.

R-19406-19221-39828-63725-16599-34636-45225-33176 tcl slt th3 src

The destructor will also be invoked if the call to sqlite3_create_module_v2() fails.

/* IMP: R-19406-19221 */
# EVIDENCE-OF: R-19406-19221 The destructor will also be invoked if the
# call to sqlite3_create_module_v2() fails.

R-52979-05948-62253-13959-08616-19782-00231-65048 tcl slt th3 src

The sqlite3_create_module() interface is equivalent to sqlite3_create_module_v2() with a NULL destructor.

/* IMP: R-52979-05948 */
# EVIDENCE-OF: R-52979-05948 The sqlite3_create_module() interface is
# equivalent to sqlite3_create_module_v2() with a NULL destructor.

R-36091-24060-22250-25339-34377-38078-29153-58612 tcl slt th3 src

If the third parameter (the pointer to the sqlite3_module object) is NULL then no new module is created and any existing modules with the same name are dropped.

/* IMP: R-36091-24060 */
# EVIDENCE-OF: R-36091-24060 If the third parameter (the pointer to the
# sqlite3_module object) is NULL then no new module is created and any
# existing modules with the same name are dropped.