Opened 14 years ago

Closed 14 years ago

#3724 closed defect (fixed)

OGR SQL Engine does not support negative numbers

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.8.0
Component: OGR_SF Version: unspecified
Severity: normal Keywords: rfc28
Cc: Even Rouault

Description

so I don't forget to fit it...

The new yacc based sql engine in OGR trunk does not support negative numbers in expressions.

Works:

select 1-1 from poly

Fails:

select -1 from poly
select 1*-1 from poly

Change History (1)

comment:1 by warmerdam, 14 years ago

Resolution: fixed
Status: newclosed

Problem corrected in trunk (r20371). This also adds some testing and fixes a problem with integer division.

Note: See TracTickets for help on using tickets.