Small. Fast. Reliable.
Choose any three.

SQLite Requirement Matrix Details
c_trace.html

Index Summary Markup Original


R-01386-30047-33139-62500-59847-53855-15241-35634 tcl slt th3 src

The first argument to the trace callback is one of the following constants.

th3/cov1/trace01.test:98

/* IMP: R-01386-30047 */
# EVIDENCE-OF: R-01386-30047 The first argument to the trace callback is
# one of the following constants.

R-49248-49502-37963-38186-54348-07899-11836-10186 tcl slt th3 src

A trace callback has four arguments: xCallback(T,C,P,X).

th3/cov1/trace01.test:33

/* IMP: R-49248-49502 */
# EVIDENCE-OF: R-49248-49502 A trace callback has four arguments:
# xCallback(T,C,P,X).

R-00303-53643-59539-09278-38608-05869-19672-31996 tcl slt th3 src

The T argument is one of the integer type codes above.

th3/cov1/trace01.test:95

/* IMP: R-00303-53643 */
# EVIDENCE-OF: R-00303-53643 The T argument is one of the integer type
# codes above.

R-42043-38025-54022-62680-37100-38992-27371-65527 tcl slt th3 src

The C argument is a copy of the context pointer passed in as the fourth argument to sqlite3_trace_v2().

th3/cov1/trace01.test:51

/* IMP: R-42043-38025 */
# EVIDENCE-OF: R-42043-38025 The C argument is a copy of the context
# pointer passed in as the fourth argument to sqlite3_trace_v2().

R-15462-52806-17600-54979-17711-21725-52659-40805 tcl slt th3 src

An SQLITE_TRACE_STMT callback is invoked when a prepared statement first begins running and possibly at other times during the execution of the prepared statement, such as at the start of each trigger subprogram.

th3/cov1/trace01.test:203

/* IMP: R-15462-52806 */
# EVIDENCE-OF: R-15462-52806 An SQLITE_TRACE_STMT callback is invoked
# when a prepared statement first begins running and possibly at other
# times during the execution of the prepared statement, such as at the
# start of each trigger subprogram.

R-35903-55864-38042-65190-02899-64342-40234-23933 tcl slt th3 src

The P argument is a pointer to the prepared statement.

th3/cov1/trace01.test:211

/* IMP: R-35903-55864 */
# EVIDENCE-OF: R-35903-55864 The P argument is a pointer to the prepared
# statement.

R-20053-18593-57587-13858-53773-26981-59084-43132 tcl slt th3 src

The X argument is a pointer to a string which is the unexpanded SQL text of the prepared statement or an SQL comment that indicates the invocation of a trigger.

th3/cov1/trace01.test:222

/* IMP: R-20053-18593 */
# EVIDENCE-OF: R-20053-18593 The X argument is a pointer to a string
# which is the unexpanded SQL text of the prepared statement or an SQL
# comment that indicates the invocation of a trigger.

R-50676-09860-46242-55530-65292-55859-31075-59958 tcl slt th3 src

The callback can compute the same text that would have been returned by the legacy sqlite3_trace() interface by using the X argument when X begins with "--" and invoking sqlite3_expanded_sql(P) otherwise.

src/vdbe.c:7046

/* IMP: R-50676-09860 */
# EVIDENCE-OF: R-50676-09860 The callback can compute the same text that
# would have been returned by the legacy sqlite3_trace() interface by
# using the X argument when X begins with "--" and invoking
# sqlite3_expanded_sql(P) otherwise.

R-47563-44180-26995-52116-57167-46758-14753-28295 tcl slt th3 src

An SQLITE_TRACE_PROFILE callback provides approximately the same information as is provided by the sqlite3_profile() callback.

th3/cov1/trace01.test:243

/* IMP: R-47563-44180 */
# EVIDENCE-OF: R-47563-44180 An SQLITE_TRACE_PROFILE callback provides
# approximately the same information as is provided by the
# sqlite3_profile() callback.

R-12722-60883-17939-30379-04776-48495-16635-34994 tcl slt th3 src

The P argument is a pointer to the prepared statement and the X argument points to a 64-bit integer which is the estimated of the number of nanosecond that the prepared statement took to run.

th3/cov1/trace01.test:247

/* IMP: R-12722-60883 */
# EVIDENCE-OF: R-12722-60883 The P argument is a pointer to the prepared
# statement and the X argument points to a 64-bit integer which is the
# estimated of the number of nanosecond that the prepared statement took
# to run.

R-43754-40546-54172-00360-10157-15070-11211-43243 tcl slt th3 src

The SQLITE_TRACE_PROFILE callback is invoked when the statement finishes.

th3/cov1/trace01.test:252

/* IMP: R-43754-40546 */
# EVIDENCE-OF: R-43754-40546 The SQLITE_TRACE_PROFILE callback is
# invoked when the statement finishes.

R-24189-42234-36662-00124-25434-59870-15844-57738 tcl slt th3 src

An SQLITE_TRACE_ROW callback is invoked whenever a prepared statement generates a single row of result.

th3/cov1/trace01.test:228

/* IMP: R-24189-42234 */
# EVIDENCE-OF: R-24189-42234 An SQLITE_TRACE_ROW callback is invoked
# whenever a prepared statement generates a single row of result.

R-63404-48526-63691-02356-01054-10642-53789-36126 tcl slt th3 src

The P argument is a pointer to the prepared statement and the X argument is unused.

th3/cov1/trace01.test:231

/* IMP: R-63404-48526 */
# EVIDENCE-OF: R-63404-48526 The P argument is a pointer to the prepared
# statement and the X argument is unused.

R-24550-28707-14750-42136-44607-00507-28775-21401 tcl slt th3 src

An SQLITE_TRACE_CLOSE callback is invoked when a database connection closes.

th3/cov1/trace01.test:146

/* IMP: R-24550-28707 */
# EVIDENCE-OF: R-24550-28707 An SQLITE_TRACE_CLOSE callback is invoked
# when a database connection closes.

R-11278-45262-58259-06316-15595-38030-39158-45213 tcl slt th3 src

The P argument is a pointer to the database connection object and the X argument is unused.

th3/cov1/trace01.test:149

/* IMP: R-11278-45262 */
# EVIDENCE-OF: R-11278-45262 The P argument is a pointer to the database
# connection object and the X argument is unused.