mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02: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 (_extractors[counter].size())
|
||||||
{
|
{
|
||||||
if (reset)
|
if (reset)
|
||||||
*it += CountVec::value_type(_extractors[counter][0]->numOfRowsHandled());
|
|
||||||
else
|
|
||||||
*it = CountVec::value_type(_extractors[counter][0]->numOfRowsHandled());
|
*it = CountVec::value_type(_extractors[counter][0]->numOfRowsHandled());
|
||||||
|
else
|
||||||
|
*it += CountVec::value_type(_extractors[counter][0]->numOfRowsHandled());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user