Ticket #3260 (reopened defect)
OracleSpatial SQL Error w/FUNCTION = NONE
| Reported by: | jimk | Owned by: | jimk |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Input - Native Oracle Spatial Support | Version: | 5.6 |
| Severity: | normal | Keywords: | |
| Cc: | sdlime, jimk, aboudreault |
Description
I can't even get a map to draw in 5.6 (works fine in 5.4)
DATA "POINT FROM (SELECT POINT,FEATURE_ID FROM FEATURES WHERE
FEATURE_TYPE_ID = 97) USING UNIQUE FEATURE_ID NONE
The error message is like so (against trunk):
msDrawMap(): Image handling error. Failed to draw layer named 'layer1'.
msOracleSpatialLayerWhichShapes(): OracleSpatial error.
Error: ORA-01036: illegal variable name/number .
Query statement: SELECT FEATURE_ID,, POINT FROM (SELECT POINT,FEATURE_ID
FROM FEATURES WHERE FEATURE_TYPE_ID = 97)
Not sure where the extra commas come from in the "Query statement: ..." line. Any ideas?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

