mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
More granular assertion in Arena.h
This commit is contained in:
parent
1927212f67
commit
6793cd7cca
@ -220,7 +220,8 @@ public:
|
||||
// This method only works for extending the last allocation. For lack of
|
||||
// original size, check a weaker condition: that 'begin' is at least in
|
||||
// the current Chunk.
|
||||
assert(range_start >= head->begin && range_start < head->end);
|
||||
assert(range_start >= head->begin);
|
||||
assert(range_start < head->end);
|
||||
|
||||
if (head->pos + additional_bytes <= head->end)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user