[mapserver-commits] r9734 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Jan 22 14:02:01 EST 2010


Author: assefa
Date: 2010-01-22 14:01:57 -0500 (Fri, 22 Jan 2010)
New Revision: 9734

Modified:
   trunk/mapserver/maporaclespatial.c
Log:
Use strcasecmp when looking for unique field in the list of items #3271

Modified: trunk/mapserver/maporaclespatial.c
===================================================================
--- trunk/mapserver/maporaclespatial.c	2010-01-22 16:43:52 UTC (rev 9733)
+++ trunk/mapserver/maporaclespatial.c	2010-01-22 19:01:57 UTC (rev 9734)
@@ -1963,7 +1963,7 @@
 
     /* Check if the unique field is already in the items list */
     for( i=0; i < layer->numitems; ++i ) {
-        if (strcmp(unique, layer->items[i])==0) {
+        if (strcasecmp(unique, layer->items[i])==0) {
             existunique = MS_TRUE;
             break;
         }



More information about the mapserver-commits mailing list