mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-03 12:58:03 +01:00
fixed GH #1461: Poco::Data::SQLite::SQLiteStatementImpl::next() error
This commit is contained in:
parent
77df1f6d3f
commit
ba4a5af389
@ -273,7 +273,10 @@ std::size_t SQLiteStatementImpl::next()
|
|||||||
}
|
}
|
||||||
_stepCalled = false;
|
_stepCalled = false;
|
||||||
if (_affectedRowCount == POCO_SQLITE_INV_ROW_CNT) _affectedRowCount = 0;
|
if (_affectedRowCount == POCO_SQLITE_INV_ROW_CNT) _affectedRowCount = 0;
|
||||||
_affectedRowCount += (*extracts.begin())->numOfRowsHandled();
|
if (extracts.begin() != extracts.end())
|
||||||
|
{
|
||||||
|
_affectedRowCount += (*extracts.begin())->numOfRowsHandled();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (SQLITE_DONE == _nextResponse)
|
else if (SQLITE_DONE == _nextResponse)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user