[mapguide-commits] r1133 - trunk/MgDev/Server/src/Gws/GwsQueryEngine
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Fri Feb 23 13:53:06 EST 2007
Author: brucedechant
Date: 2007-02-23 13:53:06 -0500 (Fri, 23 Feb 2007)
New Revision: 1133
Modified:
trunk/MgDev/Server/src/Gws/GwsQueryEngine/GwsBatchSortedBlockJoinQueryResults.cpp
Log:
Fix the IsNull() API to also check properties of type FdoPropertyType_GeometricProperty.
Modified: trunk/MgDev/Server/src/Gws/GwsQueryEngine/GwsBatchSortedBlockJoinQueryResults.cpp
===================================================================
--- trunk/MgDev/Server/src/Gws/GwsQueryEngine/GwsBatchSortedBlockJoinQueryResults.cpp 2007-02-23 17:15:58 UTC (rev 1132)
+++ trunk/MgDev/Server/src/Gws/GwsQueryEngine/GwsBatchSortedBlockJoinQueryResults.cpp 2007-02-23 18:53:06 UTC (rev 1133)
@@ -945,7 +945,7 @@
bool CGwsBatchSortedBlockJoinQueryResults::IsNull(FdoString* propertyName)
{
- bool result = false;
+ bool result = true;
// Read from the cache
PrimaryCacheEntry* cacheEntry = *m_pPrimaryCacheIterator;
@@ -967,6 +967,14 @@
result = value->IsNull();
}
}
+ else if(propDesc->m_ptype == FdoPropertyType_GeometricProperty)
+ {
+ FdoByteArray* value = (FdoByteArray*)(propertyCacheEntry->geometry.p);
+ if(value)
+ {
+ result = false;
+ }
+ }
else
{
// Invalid property type
More information about the mapguide-commits
mailing list