OLD | NEW |
1 # 2011 April 1 | 1 # 2011 April 1 |
2 # | 2 # |
3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
5 # | 5 # |
6 # May you do good and not evil. | 6 # May you do good and not evil. |
7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
9 # | 9 # |
10 #*********************************************************************** | 10 #*********************************************************************** |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } {0 0 0 {SEARCH TABLE t1 USING INDEX t1b (b=?)}} | 105 } {0 0 0 {SEARCH TABLE t1 USING INDEX t1b (b=?)}} |
106 do_test analyze7-3.5 { | 106 do_test analyze7-3.5 { |
107 execsql {EXPLAIN QUERY PLAN SELECT * FROM t1 WHERE a=123 AND c=123} | 107 execsql {EXPLAIN QUERY PLAN SELECT * FROM t1 WHERE a=123 AND c=123} |
108 } {0 0 0 {SEARCH TABLE t1 USING INDEX t1a (a=?)}} | 108 } {0 0 0 {SEARCH TABLE t1 USING INDEX t1a (a=?)}} |
109 } | 109 } |
110 do_test analyze7-3.6 { | 110 do_test analyze7-3.6 { |
111 execsql {EXPLAIN QUERY PLAN SELECT * FROM t1 WHERE c=123 AND d=123 AND b=123} | 111 execsql {EXPLAIN QUERY PLAN SELECT * FROM t1 WHERE c=123 AND d=123 AND b=123} |
112 } {0 0 0 {SEARCH TABLE t1 USING INDEX t1cd (c=? AND d=?)}} | 112 } {0 0 0 {SEARCH TABLE t1 USING INDEX t1cd (c=? AND d=?)}} |
113 | 113 |
114 finish_test | 114 finish_test |
OLD | NEW |