Ticket #1629 (closed defect: fixed)
queryByAttributes creates wrong WHERE clause on PostGIS layers
|Reported by:||ml.dje@…||Owned by:||refractions|
Using Mapserver 4.8.0-beta2 Windows (from maptools.org) the following call $msLayer->queryByAttributes('myAttribute', 'myAttribute in ('A', 'B')', MS_MULTIPLE) results in the following WHERE-clause send to Postgres .. WHERE (myAttribute = 'myAttribute in ('A', 'B')') and ... which oviously results in an error. Version 4.6.1 on the other hand creates the correct clause: ... WHERE (myAttribute in ('A', 'B')) and ... Is this issue probably solved in the newer 4.8-RC versions?
Note: See TracTickets for help on using tickets.