[fdo-commits] r636 - branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Ph/Rd
    svn_fdo at osgeo.org 
    svn_fdo at osgeo.org
       
    Wed Jan 17 15:31:11 EST 2007
    
    
  
Author: gavincramer
Date: 2007-01-17 15:31:08 -0500 (Wed, 17 Jan 2007)
New Revision: 636
Modified:
   branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Ph/Rd/SpatialContextReader.cpp
Log:
ODBC: Fix Missing default spatial context
Modified: branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Ph/Rd/SpatialContextReader.cpp
===================================================================
--- branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Ph/Rd/SpatialContextReader.cpp	2007-01-16 19:53:33 UTC (rev 635)
+++ branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Ph/Rd/SpatialContextReader.cpp	2007-01-17 20:31:08 UTC (rev 636)
@@ -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