OLD | NEW |
1 # 2001 September 15 | 1 # 2001 September 15 |
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 SELECT * FROM aa, bb WHERE CASE WHEN a=b-1 THEN 1 END; | 176 SELECT * FROM aa, bb WHERE CASE WHEN a=b-1 THEN 1 END; |
177 } | 177 } |
178 } {1 2 3 4} | 178 } {1 2 3 4} |
179 do_test select2-4.7 { | 179 do_test select2-4.7 { |
180 execsql { | 180 execsql { |
181 SELECT * FROM aa, bb WHERE CASE WHEN a=b-1 THEN 0 ELSE 1 END; | 181 SELECT * FROM aa, bb WHERE CASE WHEN a=b-1 THEN 0 ELSE 1 END; |
182 } | 182 } |
183 } {1 4 1 0 3 2 3 0} | 183 } {1 4 1 0 3 2 3 0} |
184 | 184 |
185 finish_test | 185 finish_test |
OLD | NEW |