[fdo-commits] r223 - branches/3.2.1/Providers/SDF/Src/Provider

svn_fdo at osgeo.org svn_fdo at osgeo.org
Sun Feb 25 18:07:19 EST 2007


Author: badreddinekaroui
Date: 2007-02-25 18:07:19 -0500 (Sun, 25 Feb 2007)
New Revision: 223

Modified:
   branches/3.2.1/Providers/SDF/Src/Provider/SdfQueryOptimizer.cpp
Log:
See ticket #21

Modified: branches/3.2.1/Providers/SDF/Src/Provider/SdfQueryOptimizer.cpp
===================================================================
--- branches/3.2.1/Providers/SDF/Src/Provider/SdfQueryOptimizer.cpp	2007-02-25 17:23:06 UTC (rev 222)
+++ branches/3.2.1/Providers/SDF/Src/Provider/SdfQueryOptimizer.cpp	2007-02-25 23:07:19 UTC (rev 223)
@@ -159,7 +159,7 @@
         return;
     }
     
-	if( filter.GetOperation() == FdoBinaryLogicalOperations_And && argLeft->size() > 0 && fLeft == NULL )
+	if( filter.GetOperation() == FdoBinaryLogicalOperations_And && argLeft != NULL && argLeft->size() > 0 && fLeft == NULL )
 	{
 		// The left side reduced the condidate list to a smaller set and optimized away the left filter
 		// We only need to apply the right filter to the reduced set.



More information about the fdo-commits mailing list