Check if NotJoined::right_nullability_removes is used

This commit is contained in:
vdimir 2021-08-05 13:31:40 +03:00
parent 314f1d3b93
commit b9ca3179de
No known key found for this signature in database
GPG Key ID: F57B3E10A21DBB31

View File

@ -552,6 +552,8 @@ void NotJoined::extractColumnChanges(size_t right_pos, size_t result_pos)
void NotJoined::correctLowcardAndNullability(MutableColumns & columns_right) void NotJoined::correctLowcardAndNullability(MutableColumns & columns_right)
{ {
assert(right_nullability_removes.size() == 0);
for (size_t pos : right_nullability_removes) for (size_t pos : right_nullability_removes)
changeNullability(columns_right[pos]); changeNullability(columns_right[pos]);