mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 05:29:41 +01:00
make RecordSet::reset(stmt) return a reference to itself
This commit is contained in:
@@ -89,7 +89,7 @@ RecordSet::~RecordSet()
|
||||
}
|
||||
|
||||
|
||||
void RecordSet::reset(const Statement& stmt)
|
||||
RecordSet& RecordSet::reset(const Statement& stmt)
|
||||
{
|
||||
delete _pBegin;
|
||||
_pBegin = 0;
|
||||
@@ -107,6 +107,8 @@ void RecordSet::reset(const Statement& stmt)
|
||||
|
||||
_pBegin = new RowIterator(this, 0 == rowsExtracted());
|
||||
_pEnd = new RowIterator(this, true);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user