| OLD | NEW |
| 1 # 2002 May 24 | 1 # 2002 May 24 |
| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 do_test vtab6-2.3 { | 226 do_test vtab6-2.3 { |
| 227 catchsql { | 227 catchsql { |
| 228 SELECT * FROM t1 NATURAL RIGHT OUTER JOIN t2; | 228 SELECT * FROM t1 NATURAL RIGHT OUTER JOIN t2; |
| 229 } | 229 } |
| 230 } {1 {RIGHT and FULL OUTER JOINs are not currently supported}} | 230 } {1 {RIGHT and FULL OUTER JOINs are not currently supported}} |
| 231 do_test vtab6-2.4 { | 231 do_test vtab6-2.4 { |
| 232 execsql { | 232 execsql { |
| 233 SELECT * FROM t1 LEFT JOIN t2 ON t1.a=t2.d | 233 SELECT * FROM t1 LEFT JOIN t2 ON t1.a=t2.d |
| 234 } | 234 } |
| 235 } {1 2 3 {} {} {} 2 3 4 {} {} {} 3 4 5 1 2 3} | 235 } {1 2 3 {} {} {} 2 3 4 {} {} {} 3 4 5 1 2 3} |
| 236 do_test vtab6-2.4.1 { |
| 237 execsql { |
| 238 SELECT * FROM t1 LEFT JOIN t2 ON t1.a IS t2.d |
| 239 } |
| 240 } {1 2 3 {} {} {} 2 3 4 {} {} {} 3 4 5 1 2 3} |
| 236 do_test vtab6-2.5 { | 241 do_test vtab6-2.5 { |
| 237 execsql { | 242 execsql { |
| 238 SELECT * FROM t1 LEFT JOIN t2 ON t1.a=t2.d WHERE t1.a>1 | 243 SELECT * FROM t1 LEFT JOIN t2 ON t1.a=t2.d WHERE t1.a>1 |
| 239 } | 244 } |
| 240 } {2 3 4 {} {} {} 3 4 5 1 2 3} | 245 } {2 3 4 {} {} {} 3 4 5 1 2 3} |
| 241 do_test vtab6-2.6 { | 246 do_test vtab6-2.6 { |
| 242 execsql { | 247 execsql { |
| 243 SELECT * FROM t1 LEFT JOIN t2 ON t1.a=t2.d WHERE t2.b IS NULL OR t2.b>1 | 248 SELECT * FROM t1 LEFT JOIN t2 ON t1.a=t2.d WHERE t2.b IS NULL OR t2.b>1 |
| 244 } | 249 } |
| 245 } {1 2 3 {} {} {} 2 3 4 {} {} {}} | 250 } {1 2 3 {} {} {} 2 3 4 {} {} {}} |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 } {1 {table ab: xBestIndex returned an invalid plan}} | 569 } {1 {table ab: xBestIndex returned an invalid plan}} |
| 565 do_test vtab6-11.4.2 { | 570 do_test vtab6-11.4.2 { |
| 566 catchsql { | 571 catchsql { |
| 567 SELECT a, b, c FROM bc NATURAL JOIN ab; | 572 SELECT a, b, c FROM bc NATURAL JOIN ab; |
| 568 } | 573 } |
| 569 } {1 {table bc: xBestIndex returned an invalid plan}} | 574 } {1 {table bc: xBestIndex returned an invalid plan}} |
| 570 | 575 |
| 571 unset ::echo_module_ignore_usable | 576 unset ::echo_module_ignore_usable |
| 572 | 577 |
| 573 finish_test | 578 finish_test |
| OLD | NEW |