1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

When compiling with SQLITE_DEBUG, add run-time checks to ensure that no

statement aborts unless either there have been no writes or else there is
a statement journal.

FossilOrigin-Name: 5a4542dbcf17a9f7fed600897555c271e1651fd50eb41d0b126725b486e1d14c
This commit is contained in:
drh
2018-05-28 17:31:20 +00:00
parent 9201184711
commit 4031bafafb
11 changed files with 122 additions and 19 deletions

View File

@ -75,6 +75,7 @@ while {![eof $in]} {
if {[regexp {^case OP_} $line]} {
set line [split $line]
set name [string trim [lindex $line 1] :]
if {$name=="OP_Abortable"} continue; # put OP_Abortable last
set op($name) -1
set jump($name) 0
set in1($name) 0
@ -113,7 +114,7 @@ while {![eof $in]} {
#
puts "/* Automatically generated. Do not edit */"
puts "/* See the tool/mkopcodeh.tcl script for details */"
foreach name {OP_Noop OP_Explain} {
foreach name {OP_Noop OP_Explain OP_Abortable} {
set jump($name) 0
set in1($name) 0
set in2($name) 0