mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-22 17:50:47 +00:00
getBufferSizeInBytes() return type fix [#CONV-7934]
This commit is contained in:
parent
2d620a3aa1
commit
c8cc523ffe
@ -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()) +
|
||||
|
@ -370,7 +370,7 @@ public:
|
||||
return 0 == m_size;
|
||||
}
|
||||
|
||||
bool getBufferSizeInBytes() const
|
||||
size_t getBufferSizeInBytes() const
|
||||
{
|
||||
return buf_size_bytes();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user