diff options
author | drh <drh@noemail.net> | 2018-05-02 18:00:17 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-05-02 18:00:17 +0000 |
commit | b3f0276b9e4fd6465aaefa6e527d3f7a19a59b8c (patch) | |
tree | c9f50dc49d86bbddef84d7e52539152f908e1b4c /test/whereI.test | |
parent | 84a01debf9cd527e422d4bc3cbd0149b8a3b9e34 (diff) | |
download | sqlite-b3f0276b9e4fd6465aaefa6e527d3f7a19a59b8c.tar.gz sqlite-b3f0276b9e4fd6465aaefa6e527d3f7a19a59b8c.zip |
Fix test cases so that they work with the new EXPLAIN QUERY PLAN output
format. Only some of the cases have been fixed. This is an incremental
check-in.
FossilOrigin-Name: 5f0e803e33aa557865d5fc830d9202d628de9a94c9757058ca48f1a560702cd3
Diffstat (limited to 'test/whereI.test')
-rw-r--r-- | test/whereI.test | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/whereI.test b/test/whereI.test index 29b08549b..73dd9009a 100644 --- a/test/whereI.test +++ b/test/whereI.test @@ -29,8 +29,9 @@ do_execsql_test 1.0 { do_eqp_test 1.1 { SELECT a FROM t1 WHERE b='b' OR c='x' } { - 0 0 0 {SEARCH TABLE t1 USING INDEX i1 (b=?)} - 0 0 0 {SEARCH TABLE t1 USING INDEX i2 (c=?)} + QUERY PLAN + |--SEARCH TABLE t1 USING INDEX i1 (b=?) + `--SEARCH TABLE t1 USING INDEX i2 (c=?) } do_execsql_test 1.2 { @@ -57,8 +58,9 @@ do_execsql_test 2.0 { do_eqp_test 2.1 { SELECT a FROM t2 WHERE b='b' OR c='x' } { - 0 0 0 {SEARCH TABLE t2 USING INDEX i3 (b=?)} - 0 0 0 {SEARCH TABLE t2 USING INDEX i4 (c=?)} + QUERY PLAN + |--SEARCH TABLE t2 USING INDEX i3 (b=?) + `--SEARCH TABLE t2 USING INDEX i4 (c=?) } do_execsql_test 2.2 { |