RowIterator positioning

This commit is contained in:
Aleksandar Fabijanic
2008-08-25 12:42:31 +00:00
parent 5bd23e62b3
commit c94cd468de
4 changed files with 12 additions and 9 deletions

View File

@@ -50,7 +50,7 @@ const int RowIterator::POSITION_END = std::numeric_limits<std::size_t>::max();
RowIterator::RowIterator(RecordSet* pRecordSet, bool positionEnd):
_pRecordSet(pRecordSet),
_position((0 == pRecordSet->totalRowCount()) || positionEnd ? POSITION_END : 0)
_position(positionEnd ? POSITION_END : 0)
{
}