Ticket #2613 (closed defect: fixed)
PostGIS connection not always sanitized after failed query
Description
Followup from bug #2497. In mappostgis.c, whenever PQexec gets called, if the query has failed, we need to call msPOSTGISSanitizeConnection(layerinfo->conn).
It seems this needs to be done in four additional places:
line 700: msPOSTGISLayerClose()
line 1430: msPOSTGISLayerGetItems()
line 1601: msPOSTGISLayerRetrievePGVersion()
line 1749: msPOSTGISLayerRetrievePK()
Patch attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

