diff --git a/Data/SQLite/src/SQLiteStatementImpl.cpp b/Data/SQLite/src/SQLiteStatementImpl.cpp index 9910b20cb..5f0b6c725 100644 --- a/Data/SQLite/src/SQLiteStatementImpl.cpp +++ b/Data/SQLite/src/SQLiteStatementImpl.cpp @@ -274,9 +274,6 @@ std::size_t SQLiteStatementImpl::next() _stepCalled = false; if (_affectedRowCount == POCO_SQLITE_INV_ROW_CNT) _affectedRowCount = 0; - if (extracts.size()) - - //_affectedRowCount += (*extracts.begin())->numOfRowsHandled(); if (extracts.size()) _affectedRowCount += (*extracts.begin())->numOfRowsHandled(); else @@ -284,11 +281,6 @@ std::size_t SQLiteStatementImpl::next() _stepCalled = true; _nextResponse = SQLITE_DONE; } - else - { - _stepCalled = true; - _nextResponse = SQLITE_DONE; - } } else if (SQLITE_DONE == _nextResponse)