mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-24 06:04:15 +01:00
fixed GH #1171: Poco::Data::RecordSet: rowCount not reset after execute
This commit is contained in:
@@ -115,9 +115,9 @@ void StatementImpl::assignSubTotal(bool reset)
|
||||
if (_extractors[counter].size())
|
||||
{
|
||||
if (reset)
|
||||
*it += CountVec::value_type(_extractors[counter][0]->numOfRowsHandled());
|
||||
else
|
||||
*it = CountVec::value_type(_extractors[counter][0]->numOfRowsHandled());
|
||||
else
|
||||
*it += CountVec::value_type(_extractors[counter][0]->numOfRowsHandled());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user