| OLD | NEW |
| 1 # 2013-05-07 | 1 # 2013-05-07 |
| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 ORDER BY 1 | 85 ORDER BY 1 |
| 86 } | 86 } |
| 87 } {} | 87 } {} |
| 88 do_test selectE-2.2 { | 88 do_test selectE-2.2 { |
| 89 db eval { | 89 db eval { |
| 90 SELECT a COLLATE nocase FROM t2 EXCEPT SELECT a FROM t3 | 90 SELECT a COLLATE nocase FROM t2 EXCEPT SELECT a FROM t3 |
| 91 ORDER BY 1 COLLATE binary | 91 ORDER BY 1 COLLATE binary |
| 92 } | 92 } |
| 93 } {} | 93 } {} |
| 94 | 94 |
| 95 do_catchsql_test selectE-3.1 { |
| 96 SELECT 1 EXCEPT SELECT 2 ORDER BY 1 COLLATE nocase EXCEPT SELECT 3; |
| 97 } {1 {ORDER BY clause should come after EXCEPT not before}} |
| 98 |
| 99 |
| 95 finish_test | 100 finish_test |
| OLD | NEW |