| OLD | NEW |
| 1 # 2009 November 23 | 1 # 2009 November 23 |
| 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 28 matching lines...) Expand all Loading... |
| 39 CREATE VIRTUAL TABLE t1 USING tclvar; | 39 CREATE VIRTUAL TABLE t1 USING tclvar; |
| 40 CREATE VIRTUAL TABLE t2 USING tclvar; | 40 CREATE VIRTUAL TABLE t2 USING tclvar; |
| 41 CREATE TABLE t3(a INTEGER PRIMARY KEY, b); | 41 CREATE TABLE t3(a INTEGER PRIMARY KEY, b); |
| 42 SELECT t1.*, t2.*, abs(t3.b + abs(t2.value + abs(t1.value))) | 42 SELECT t1.*, t2.*, abs(t3.b + abs(t2.value + abs(t1.value))) |
| 43 FROM t1 LEFT JOIN t2 ON t2.name = t1.arrayname | 43 FROM t1 LEFT JOIN t2 ON t2.name = t1.arrayname |
| 44 LEFT JOIN t3 ON t3.a=t2.value | 44 LEFT JOIN t3 ON t3.a=t2.value |
| 45 WHERE t1.name = 'vtabE' | 45 WHERE t1.name = 'vtabE' |
| 46 ORDER BY t1.value, t2.value; | 46 ORDER BY t1.value, t2.value; |
| 47 } | 47 } |
| 48 } {vtabE vtabE1 11 vtabE1 w x {} vtabE vtabE1 11 vtabE1 y z {} vtabE vtabE2 22 v
tabE2 a b {} vtabE vtabE2 22 vtabE2 c d {}} | 48 } {vtabE vtabE1 11 vtabE1 w x {} vtabE vtabE1 11 vtabE1 y z {} vtabE vtabE2 22 v
tabE2 a b {} vtabE vtabE2 22 vtabE2 c d {}} |
| 49 |
| 50 finish_test |
| OLD | NEW |