mirror of
https://github.com/pocoproject/poco.git
synced 2026-01-03 20:01:43 +01:00
some async-robustness additions and tests for Statement
This commit is contained in:
@@ -115,6 +115,8 @@ Poco::UInt32 StatementImpl::executeWithLimit()
|
||||
_state = ST_DONE;
|
||||
else if (hasNext() && _extrLimit.value() == count && _extrLimit.isHardLimit())
|
||||
throw LimitException("HardLimit reached. We got more data than we asked for");
|
||||
else
|
||||
_state = ST_PAUSED;
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user