mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Add the vdbe_listing and sql_trace pragmas used for debugging. (CVS 1558)
FossilOrigin-Name: 28c3cc088018833f507535b8d227232776cff204
This commit is contained in:
@ -10,8 +10,15 @@
|
||||
# This file tests the RAISE() function.
|
||||
#
|
||||
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
set sqlite_os_trace 1
|
||||
execsql {
|
||||
PRAGMA vdbe_listing=on;
|
||||
PRAGMA sql_trace=on;
|
||||
PRAGMA vdbe_trace=on;
|
||||
}
|
||||
|
||||
# Test that we can cause ROLLBACK, FAIL and ABORT correctly
|
||||
# catchsql { DROP TABLE tbl; }
|
||||
@ -45,6 +52,7 @@ do_test trigger3-1.2 {
|
||||
do_test trigger3-1.3 {
|
||||
execsql {SELECT * FROM tbl}
|
||||
} {}
|
||||
exit
|
||||
|
||||
# FAIL
|
||||
do_test trigger3-2.1 {
|
||||
|
Reference in New Issue
Block a user