[fdo-trac] #673: SDF feature reader ReadNext bug
FDO
trac_fdo at osgeo.org
Thu Aug 5 05:32:10 EDT 2010
#673: SDF feature reader ReadNext bug
-----------------------+----------------------------------------------------
Reporter: haris | Owner: gregboone
Type: defect | Status: new
Priority: major | Milestone: 3.5.0
Component: FDO API | Version: 3.4.0
Severity: 3 | Keywords:
External_id: |
-----------------------+----------------------------------------------------
SDF provider ReadNext will return false when reaching end of reader, for
the firs time. Second call to ReadNext will return true.
SDF reader behaves like it would roll-over to beginning.
Reason is code bellow:
bool SdfIndexedScrollableFeatureReader::ReadNext()
{
m_CurrentIndex++;
if( m_CurrentIndex >= m_TableSize )
{
m_CurrentIndex = -1;
return false;
}
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/673>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list