mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Test script changes to account for the fact that the "p5" column in the EXPLAIN output is now an integer, not a text values containing a 2-digit hex value.
FossilOrigin-Name: 102126d80872fdb7469233611cab28100c8455aab4ce25702b83398394559185
This commit is contained in:
@ -69,7 +69,7 @@ do_test 1.2 {
|
||||
p5_of_opcode db OpenRead {
|
||||
SELECT * FROM t1 CROSS JOIN t2 WHERE a=x
|
||||
}
|
||||
} {00 00}
|
||||
} {0 0}
|
||||
|
||||
# Do the same test the other way around.
|
||||
#
|
||||
@ -82,7 +82,7 @@ do_test 2.2 {
|
||||
p5_of_opcode db OpenRead {
|
||||
SELECT * FROM t2 CROSS JOIN t1 WHERE a=x
|
||||
}
|
||||
} {00 00}
|
||||
} {0 0}
|
||||
|
||||
# Various expressions captured by CursorHint
|
||||
#
|
||||
@ -117,7 +117,7 @@ do_test 4.2 {
|
||||
p5_of_opcode db OpenRead {
|
||||
SELECT * FROM t1 WHERE b>11;
|
||||
}
|
||||
} {02 00}
|
||||
} {2 0}
|
||||
do_test 4.3asc {
|
||||
p4_of_opcode db CursorHint {
|
||||
SELECT c FROM t1 WHERE b<11 ORDER BY b ASC;
|
||||
@ -132,7 +132,7 @@ do_test 4.4 {
|
||||
p5_of_opcode db OpenRead {
|
||||
SELECT c FROM t1 WHERE b<11;
|
||||
}
|
||||
} {00}
|
||||
} {0}
|
||||
|
||||
do_test 4.5asc {
|
||||
p4_of_opcode db CursorHint {
|
||||
|
@ -48,7 +48,7 @@ proc analyze_delete_program {sql} {
|
||||
|
||||
set obj $T($root)
|
||||
set O($obj) ""
|
||||
if {"0x$R(p5)" & 0x08} {
|
||||
if {$R(p5) & 0x08} {
|
||||
set O($obj) *
|
||||
} else {
|
||||
set O($obj) ""
|
||||
|
Reference in New Issue
Block a user