OLD | NEW |
1 # 2010 August 28 | 1 # 2010 August 28 |
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 set ans [db eval {SELECT id FROM t2 WHERE x1>=0 AND x0<=5000 AND y1>=0 AND y0<=5
000 ORDER BY id}] | 120 set ans [db eval {SELECT id FROM t2 WHERE x1>=0 AND x0<=5000 AND y1>=0 AND y0<=5
000 ORDER BY id}] |
121 do_execsql_test rtreeE-2.3 { | 121 do_execsql_test rtreeE-2.3 { |
122 SELECT id FROM rt2 WHERE id MATCH breadthfirstsearch(0,5000,0,5000) ORDER BY i
d | 122 SELECT id FROM rt2 WHERE id MATCH breadthfirstsearch(0,5000,0,5000) ORDER BY i
d |
123 } $ans | 123 } $ans |
124 set ans [db eval {SELECT id FROM t2 WHERE x1>=0 AND x0<=10000 AND y1>=0 AND y0<=
10000 ORDER BY id}] | 124 set ans [db eval {SELECT id FROM t2 WHERE x1>=0 AND x0<=10000 AND y1>=0 AND y0<=
10000 ORDER BY id}] |
125 do_execsql_test rtreeE-2.4 { | 125 do_execsql_test rtreeE-2.4 { |
126 SELECT id FROM rt2 WHERE id MATCH breadthfirstsearch(0,10000,0,10000) ORDER BY
id | 126 SELECT id FROM rt2 WHERE id MATCH breadthfirstsearch(0,10000,0,10000) ORDER BY
id |
127 } $ans | 127 } $ans |
128 | 128 |
129 finish_test | 129 finish_test |
OLD | NEW |