1
0
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:
drh
2004-06-10 01:30:59 +00:00
parent a60accbdb2
commit 35d4c2f4b8
8 changed files with 45 additions and 21 deletions

View File

@ -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 {