Added fix from proller [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-12-13 23:43:51 +03:00
parent 4d40879135
commit b3277408c4

View File

@ -254,7 +254,8 @@ bool Join::checkSizeLimits() const
static void convertColumnToNullable(ColumnWithTypeAndName & column)
{
column.type = makeNullable(column.type);
column.column = makeNullable(column.column);
if (column.column)
column.column = makeNullable(column.column);
}