OLD | NEW |
1 # 2015-03-16 | 1 # 2015-03-16 |
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 SELECT a FROM t1 WHERE (b=8 AND c>7) OR (b>8 AND c NOT IN (4,5,6)) | 63 SELECT a FROM t1 WHERE (b=8 AND c>7) OR (b>8 AND c NOT IN (4,5,6)) |
64 ORDER BY +a; | 64 ORDER BY +a; |
65 } {88 89 90 91 92 93 97 98 99} | 65 } {88 89 90 91 92 93 97 98 99} |
66 do_execsql_test 1.5eqp { | 66 do_execsql_test 1.5eqp { |
67 EXPLAIN QUERY PLAN | 67 EXPLAIN QUERY PLAN |
68 SELECT a FROM t1 WHERE (b=8 AND c>7) OR (b>8 AND c NOT IN (4,5,6)) | 68 SELECT a FROM t1 WHERE (b=8 AND c>7) OR (b>8 AND c NOT IN (4,5,6)) |
69 ORDER BY +a; | 69 ORDER BY +a; |
70 } {/SEARCH TABLE t1 USING INDEX t1bc/} | 70 } {/SEARCH TABLE t1 USING INDEX t1bc/} |
71 | 71 |
72 finish_test | 72 finish_test |
OLD | NEW |