getBufferSizeInBytes() return type fix [#CONV-7934]

This commit is contained in:
Vyacheslav Alipov 2013-06-20 12:47:10 +00:00
parent 2d620a3aa1
commit c8cc523ffe
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ protected:
if (!checkLimits())
{
if (overflow_mode == Limits::THROW)
throw Exception("DISTINCT-set size limit exceeded."
throw Exception("DISTINCT-Set size limit exceeded."
" Rows: " + Poco::NumberFormatter::format(set.size()) +
", limit: " + Poco::NumberFormatter::format(max_rows) +
". Bytes: " + Poco::NumberFormatter::format(set.getBufferSizeInBytes()) +

View File

@ -370,7 +370,7 @@ public:
return 0 == m_size;
}
bool getBufferSizeInBytes() const
size_t getBufferSizeInBytes() const
{
return buf_size_bytes();
}