*** DRAFT ***

SQLite Requirement Matrix Details
trace_v2.html

Index Summary Markup Original


R-31603-05822-25247-46496-01667-17001-45146-39739 tcl slt th3 src

The sqlite3_trace_v2(D,M,X,P) interface registers a trace callback function X against database connection D, using property mask M and context pointer P.

/* IMP: R-31603-05822 */
# EVIDENCE-OF: R-31603-05822 The sqlite3_trace_v2(D,M,X,P) interface
# registers a trace callback function X against database connection D,
# using property mask M and context pointer P.

R-61444-46004-20245-30772-61521-38434-38855-21947 tcl slt th3 src

If the X callback is NULL or if the M mask is zero, then tracing is disabled.

th3/cov1/trace01.test:157

/* IMP: R-61444-46004 */
# EVIDENCE-OF: R-61444-46004 If the X callback is NULL or if the M mask
# is zero, then tracing is disabled.

R-29575-14878-05474-20512-63309-33241-31866-62624 tcl slt th3 src

Each call to either sqlite3_trace() or sqlite3_trace_v2() overrides (cancels) any prior calls to sqlite3_trace() or sqlite3_trace_v2().

/* IMP: R-29575-14878 */
# EVIDENCE-OF: R-29575-14878 Each call to either sqlite3_trace() or
# sqlite3_trace_v2() overrides (cancels) any prior calls to
# sqlite3_trace() or sqlite3_trace_v2().

R-24654-22397-54230-45811-61786-44537-26039-50669 tcl slt th3 src

The X callback is invoked whenever any of the events identified by mask M occur.

/* IMP: R-24654-22397 */
# EVIDENCE-OF: R-24654-22397 The X callback is invoked whenever any of
# the events identified by mask M occur.

R-16776-49985-46642-51355-02020-16796-53995-22275 tcl slt th3 src

The integer return value from the callback is currently ignored, though this may change in future releases.

/* IMP: R-16776-49985 */
# EVIDENCE-OF: R-16776-49985 The integer return value from the callback
# is currently ignored, though this may change in future releases.

R-54814-00088-09992-08072-08455-19266-24087-41023 tcl slt th3 src

A trace callback is invoked with four arguments: callback(T,C,P,X).

th3/cov1/trace01.test:30

/* IMP: R-54814-00088 */
# EVIDENCE-OF: R-54814-00088 A trace callback is invoked with four
# arguments: callback(T,C,P,X).

R-40219-59128-49321-57557-20784-05955-23042-57460 tcl slt th3 src

The T argument is one of the SQLITE_TRACE constants to indicate why the callback was invoked.

th3/cov1/trace01.test:92

/* IMP: R-40219-59128 */
# EVIDENCE-OF: R-40219-59128 The T argument is one of the SQLITE_TRACE
# constants to indicate why the callback was invoked.

R-56255-17851-46934-55657-46753-27526-25250-09423 tcl slt th3 src

The C argument is a copy of the context pointer.

th3/cov1/trace01.test:48

/* IMP: R-56255-17851 */
# EVIDENCE-OF: R-56255-17851 The C argument is a copy of the context
# pointer.