Lines Matching refs:trace
26 ifcapable !trace { finish_test ; return }
30 proc trace {zSql} { lappend ::trace $zSql }
33 db trace trace
36 # Test that the list of string passed to the trace callback when $sql
39 set ::trace [list]
41 uplevel do_test $tn [list {set ::trace}] [list [list {*}$expected]]
48 # Now execute each SQL statement passed to the trace callback in the
50 # passed to the trace callback again. i.e. that executing the output
51 # of the trace callback is equivalent to the SQL script in $sql.
53 set sqllist $::trace
54 set ::trace [list]
56 uplevel do_test $tn.b [list {set ::trace}] [list $sqllist]