Merge pull request #10833 from ClickHouse/column-vector-additional-assert

Additional assert in ColumnVector
This commit is contained in:
alexey-milovidov 2020-05-12 18:00:22 +03:00 committed by GitHub
commit 6053f012b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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];
}