Opened 7 years ago

Closed 7 years ago

#4634 closed defect (fixed)

GenSQL: inappropriate conversion from float to integer

Reported by: Even Rouault Owned by: Even 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 (1)

comment:1 Changed 7 years ago by Even Rouault

Resolution: fixed
Status: newclosed

Fixed in trunk (r24291), branches/1.9 (r24292) and branches/1.8 (r24293)

Note: See TracTickets for help on using tickets.