mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Merge pull request #10833 from ClickHouse/column-vector-additional-assert
Additional assert in ColumnVector
This commit is contained in:
commit
6053f012b8
@ -201,6 +201,7 @@ public:
|
||||
|
||||
Field operator[](size_t n) const override
|
||||
{
|
||||
assert(n < data.size()); /// This assert is more strict than the corresponding assert inside PODArray.
|
||||
return data[n];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user