[mapserver-commits] r10438 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Aug 2 11:24:31 EDT 2010


Author: assefa
Date: 2010-08-02 15:24:31 +0000 (Mon, 02 Aug 2010)
New Revision: 10438

Modified:
   trunk/mapserver/maporaclespatial.c
Log:
Correct GetFeatureInfo failing with the oracle driver #3505

Modified: trunk/mapserver/maporaclespatial.c
===================================================================
--- trunk/mapserver/maporaclespatial.c	2010-07-30 20:29:34 UTC (rev 10437)
+++ trunk/mapserver/maporaclespatial.c	2010-08-02 15:24:31 UTC (rev 10438)
@@ -2029,7 +2029,7 @@
 
     /*we add the uniqueid if it was not part of the current item list*/
     if(existunique == MS_FALSE && rownumisuniquekey == MS_FALSE)
-      sprintf( query_str + strlen(query_str), "%s", unique);
+      sprintf( query_str + strlen(query_str), "%s,", unique);
 
     /*we always want to add rownum is the selection to allow paging to work*/
     sprintf( query_str + strlen(query_str), "%s, ", "rownum");
@@ -2305,7 +2305,7 @@
     return MS_SUCCESS;
 }
 
-int msOracleSpatialLayerResultGetShape( layerObj *layer, shapeObj *shape, int pkey, long record )
+int msOracleSpatialLayerResultGetShape( layerObj *layer, shapeObj *shape, int record, long pkey)
 {
     int success, i;
     long buffer_first_row_num, buffer_last_row_num;



More information about the mapserver-commits mailing list