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

Import recent bug fixes from trunk.

FossilOrigin-Name: 20eeee4cd34a9bffe6bf65962126ddf8ca04eb3e
This commit is contained in:
drh
2013-11-12 15:39:01 +00:00
9 changed files with 82 additions and 26 deletions

View File

@ -1047,7 +1047,7 @@ proc explain_i {sql {db db}} {
set D "\033\[39;0m" ;# Default fg
foreach opcode {
Seek SeekGe SeekGt SeekLe SeekLt NotFound Last Rewind
NoConflict Next Prev
NoConflict Next Prev VNext VPrev VFilter
} {
set color($opcode) $B
}
@ -1068,7 +1068,9 @@ proc explain_i {sql {db db}} {
set bSeenGoto 1
}
if {$opcode == "Next" || $opcode=="Prev"} {
if {$opcode=="Next" || $opcode=="Prev"
|| $opcode=="VNext" || $opcode=="VPrev"
} {
for {set i $p2} {$i<$addr} {incr i} {
incr x($i) 2
}