OLD | NEW |
1 # 2003 September 6 | 1 # 2003 September 6 |
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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 db eval { | 110 db eval { |
111 SELECT CASE WHEN c = 5 THEN b ELSE NULL END AS b, c, d FROM t1, t2 | 111 SELECT CASE WHEN c = 5 THEN b ELSE NULL END AS b, c, d FROM t1, t2 |
112 } { | 112 } { |
113 db eval {DELETE FROM t1} | 113 db eval {DELETE FROM t1} |
114 lappend res $b $c $d | 114 lappend res $b $c $d |
115 } | 115 } |
116 set res | 116 set res |
117 } {{} 3 4 {} 5 6} | 117 } {{} 3 4 {} 5 6} |
118 | 118 |
119 finish_test | 119 finish_test |
OLD | NEW |