Ticket #3234 (closed defect: fixed)
msLoadQuery fetches wrong record from DBMS
| Reported by: | mko | Owned by: | sdlime |
|---|---|---|---|
| Priority: | high | Milestone: | 5.6.1 release |
| Component: | MapServer C Library | Version: | svn-trunk (development) |
| Severity: | major | Keywords: | msLoadQuery, msSaveQuery, MS RFC 52 |
| Cc: | mko |
Description
In version 5.6.0 msLoadQuery with parameters MS_QUERY_SINGLE, MS_QUERY_BY_INDEX will return a wrong record when using a DBMS. msSaveQuery stores the index of the result set, not the oid or whatever is configured in the mapfile. Thus, the SQL statement looks like WHERE oid=[shapeindex]. This ends in wrong or no results.
Change History
Note: See
TracTickets for help on using
tickets.
