some async-robustness additions and tests for Statement

This commit is contained in:
Aleksandar Fabijanic
2007-09-30 16:42:17 +00:00
parent 6e380b6b13
commit d9364e8f51
7 changed files with 128 additions and 29 deletions

View File

@@ -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;
}