Opened 13 years ago
#4078 new defect
Constants for MS_CONNECTION_TYPES and MS_JOIN_CONNECTION_TYPES are not mutually exclusive.
Reported by: | sdlime | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 6.0.2 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
This can cause confusion when users configure joins. For example, the symbols MS_OGR and MS_DB_POSTGRES are equal which means you could configure a Postgres join with CONNECTIONTYPE OGR and the mapfile parser won't error out. Correct definition is CONNECTIONTYPE POSTGRESQL. Solution would be to start the enums in mapserver.h so they don't overlap.
Steve
Note:
See TracTickets
for help on using tickets.