mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Always invoke the profile callback even if the statement does not run to
completion. FossilOrigin-Name: 202479aa0a62067343e724487960b8a039e2e978
This commit is contained in:
@ -169,6 +169,14 @@ do_test trace-4.5 {
|
||||
} {{SELECT * FROM t1}}
|
||||
catch {sqlite3_finalize $STMT}
|
||||
|
||||
# 3.8.11: Profile output even if the statement is not run to completion.
|
||||
do_test trace-4.6 {
|
||||
set TRACE_OUT {}
|
||||
db eval {SELECT * FROM t1} {} {if {$a>=1} break}
|
||||
set TRACE_OUT
|
||||
} {{SELECT * FROM t1}}
|
||||
|
||||
|
||||
# Trigger tracing.
|
||||
#
|
||||
ifcapable trigger {
|
||||
|
Reference in New Issue
Block a user