From e80af0a15de2fa10f77895bf78fc9fabbad76245 Mon Sep 17 00:00:00 2001 From: Michael Kolupaev Date: Mon, 25 Mar 2013 13:37:58 +0000 Subject: [PATCH] clickhouse: fixed arrays to the left of IN [#CONV-6823]. --- dbms/src/Interpreters/Set.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dbms/src/Interpreters/Set.cpp b/dbms/src/Interpreters/Set.cpp index f2a6da2acbd..b7d8d6176a0 100644 --- a/dbms/src/Interpreters/Set.cpp +++ b/dbms/src/Interpreters/Set.cpp @@ -556,6 +556,10 @@ void Set::executeConstArray(const ColumnConstArray * key_column, ColumnUInt8::Co else throw Exception("Unknown set variant.", ErrorCodes::UNKNOWN_SET_DATA_VARIANT); } + + /// Для всех строчек + for (size_t i = 0; i < rows; ++i) + vec_res[i] = res; } }