[mapserver-commits] r7793 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Jul 8 16:38:55 EDT 2008


Author: Assefa
Date: 2008-07-08 16:38:55 -0400 (Tue, 08 Jul 2008)
New Revision: 7793

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapogcfilter.c
Log:
Fix OGC simple filters on SDE layers (#2685)

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2008-07-08 19:29:56 UTC (rev 7792)
+++ trunk/mapserver/HISTORY.TXT	2008-07-08 20:38:55 UTC (rev 7793)
@@ -13,6 +13,8 @@
 Current Version (SVN Trunk):
 ----------------------------
 
+- Fix OGC simple filters on SDE layers (#2685)
+
 - wfs11 getcapabilities: correct memory corruption (#2686)
 
 - Allow building against Curl 7.10.6 and older which lack CURLOPT_PROXYAUTH

Modified: trunk/mapserver/mapogcfilter.c
===================================================================
--- trunk/mapserver/mapogcfilter.c	2008-07-08 19:29:56 UTC (rev 7792)
+++ trunk/mapserver/mapogcfilter.c	2008-07-08 20:38:55 UTC (rev 7793)
@@ -943,7 +943,8 @@
 
     bConcatWhere = 0;
     bHasAWhere = 0;
-    if (lp->connectiontype == MS_POSTGIS || lp->connectiontype ==  MS_ORACLESPATIAL)
+    if (lp->connectiontype == MS_POSTGIS || lp->connectiontype ==  MS_ORACLESPATIAL ||
+        lp->connectiontype == MS_SDE || lp->connectiontype == MS_PLUGIN)
       szExpression = FLTGetSQLExpression(psNode, lp);
     /* concatenates the WHERE clause for OGR layers. This only applies if
        the expression was empty or not of an expression string. If there



More information about the mapserver-commits mailing list