Opened 14 years ago

Closed 4 years ago

#673 closed defect (duplicate)

SDF feature reader ReadNext bug

Reported by: haris Owned by: romicadascalescu
Priority: major Milestone: 3.5.0
Component: SDF Provider Version: 3.4.0
Severity: 3 Keywords:
Cc: External ID:

Description

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;

}

Change History (3)

comment:1 by jbirch, 14 years ago

Component: FDO APISDF Provider

comment:2 by gregboone, 14 years ago

Owner: changed from gregboone to romicadascalescu

comment:3 by jng, 4 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #906

Note: See TracTickets for help on using tickets.