From 1194863b3d238b565c24ff3cf4f07713bfe0986a Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Tue, 30 Jun 2020 01:49:23 +0300 Subject: [PATCH] Fix error --- src/Functions/if.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Functions/if.cpp b/src/Functions/if.cpp index ecee5590b35..6e46a03c69a 100644 --- a/src/Functions/if.cpp +++ b/src/Functions/if.cpp @@ -487,7 +487,7 @@ private: conditional(ConstSource(*col_then_const), ConstSource(*col_else_const_fixed), sink, cond_data); else if (col_then_const_fixed && col_else_const) conditional(ConstSource(*col_then_const_fixed), ConstSource(*col_else_const), sink, cond_data); - if (col_then_fixed && col_else_fixed) + else if (col_then_fixed && col_else_fixed) conditional(FixedStringSource(*col_then_fixed), FixedStringSource(*col_else_fixed), sink, cond_data); else if (col_then_fixed && col_else_const_fixed) conditional(FixedStringSource(*col_then_fixed), ConstSource(*col_else_const_fixed), sink, cond_data);