| OLD | NEW |
| 1 # 2005 June 25 | 1 # 2005 June 25 |
| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 SELECT a, CAST(a AS integer), a FROM t1; | 337 SELECT a, CAST(a AS integer), a FROM t1; |
| 338 } | 338 } |
| 339 } {abc 0 abc} | 339 } {abc 0 abc} |
| 340 do_test cast-4.4 { | 340 do_test cast-4.4 { |
| 341 db eval { | 341 db eval { |
| 342 SELECT CAST(a AS integer), a, CAST(a AS real), a FROM t1; | 342 SELECT CAST(a AS integer), a, CAST(a AS real), a FROM t1; |
| 343 } | 343 } |
| 344 } {0 abc 0.0 abc} | 344 } {0 abc 0.0 abc} |
| 345 | 345 |
| 346 finish_test | 346 finish_test |
| OLD | NEW |