Ticket #4634 (closed defect: fixed)
GenSQL: inappropriate conversion from float to integer
| Reported by: | rouault | Owned by: | rouault |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.1 |
| Component: | OGR_SF | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
ogrinfo -sql "select * from poly where 4000000000. > 2000000000." doesn't work because the swq_expr_node::Unparse() routine format 4000000000. as 4000000000 (without dot), which is later interpreted as an integer, but is too large for a int32... Thus the test always fail
Change History
Note: See
TracTickets for help on using
tickets.
