mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 00:07:59 +02:00
cleared some 64-bit warnings and test failures
This commit is contained in:
@@ -46,7 +46,7 @@ const std::string StatementImpl::UNKNOWN = "unknown";
|
||||
|
||||
StatementImpl::StatementImpl(SessionImpl& rSession):
|
||||
_state(ST_INITIALIZED),
|
||||
_extrLimit(upperLimit((std::size_t) Limit::LIMIT_UNLIMITED, false)),
|
||||
_extrLimit(upperLimit(Limit::LIMIT_UNLIMITED, false)),
|
||||
_lowerLimit(0),
|
||||
_rSession(rSession),
|
||||
_storage(STORAGE_UNKNOWN_IMPL),
|
||||
@@ -221,7 +221,7 @@ void StatementImpl::setExtractionLimit(const Limit& extrLimit)
|
||||
|
||||
void StatementImpl::setBulkExtraction(const Bulk& b)
|
||||
{
|
||||
std::size_t limit = getExtractionLimit();
|
||||
Limit::SizeT limit = getExtractionLimit();
|
||||
if (Limit::LIMIT_UNLIMITED != limit && b.size() != limit)
|
||||
throw InvalidArgumentException("Can not set limit for statement.");
|
||||
|
||||
|
Reference in New Issue
Block a user