[fdo-commits] r686 - trunk/Utilities/SchemaMgr/Src/Sm/Ph/Rd

svn_fdo at osgeo.org svn_fdo at osgeo.org
Mon Jan 29 15:17:50 EST 2007


Author: gavincramer
Date: 2007-01-29 15:17:50 -0500 (Mon, 29 Jan 2007)
New Revision: 686

Modified:
   trunk/Utilities/SchemaMgr/Src/Sm/Ph/Rd/SpatialContextReader.cpp
Log:
Port ODBC spatial context fix from 3.2.x to trunk

Modified: trunk/Utilities/SchemaMgr/Src/Sm/Ph/Rd/SpatialContextReader.cpp
===================================================================
--- trunk/Utilities/SchemaMgr/Src/Sm/Ph/Rd/SpatialContextReader.cpp	2007-01-29 20:15:02 UTC (rev 685)
+++ trunk/Utilities/SchemaMgr/Src/Sm/Ph/Rd/SpatialContextReader.cpp	2007-01-29 20:17:50 UTC (rev 686)
@@ -116,10 +116,15 @@
     // Arrange for a single row (already initialized to the defaults)
     // to be read.
 
-	// Note the subreader is null and initially eof=true; 
+    if ( IsBOF() )
+    {
+        SetBOF(false);
+    }
+    else
+    {
+        SetEOF(true);
+    }
 
-	SetEOF(!IsEOF());
-
     return(!IsEOF());
 }
 



More information about the fdo-commits mailing list