From 130166ea0b8a396a3d1fc211c8f2b111e15ae53c Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Wed, 8 Mar 2017 00:35:34 +0300 Subject: [PATCH] If for Nullable: continued [#CLICKHOUSE-2873]. --- dbms/include/DB/Functions/FunctionsConditional.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/include/DB/Functions/FunctionsConditional.h b/dbms/include/DB/Functions/FunctionsConditional.h index f00384515ce..168d7f1dcf8 100644 --- a/dbms/include/DB/Functions/FunctionsConditional.h +++ b/dbms/include/DB/Functions/FunctionsConditional.h @@ -1336,8 +1336,8 @@ private: executeImpl(temporary_block, {0, 1, 2}, 3); - block.getByPosition(result).column = temporary_block.getByPosition(3).column; ColumnPtr & result_column = block.getByPosition(result).column; + result_column = temporary_block.getByPosition(3).column; if (ColumnNullable * result_nullable = typeid_cast(result_column.get())) {