From 0b2e0ce0c1d9ddeba719197ec942e610460e0acb Mon Sep 17 00:00:00 2001 From: Andrey Mironov Date: Wed, 4 Feb 2015 19:07:19 +0300 Subject: [PATCH] dbms: heal ClickhouseDictionarySource for local clickhouse [#METR-13298] --- dbms/include/DB/Dictionaries/ClickhouseDictionarySource.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbms/include/DB/Dictionaries/ClickhouseDictionarySource.h b/dbms/include/DB/Dictionaries/ClickhouseDictionarySource.h index 5880ce8617a..a74092ef20b 100644 --- a/dbms/include/DB/Dictionaries/ClickhouseDictionarySource.h +++ b/dbms/include/DB/Dictionaries/ClickhouseDictionarySource.h @@ -28,7 +28,7 @@ public: table{config.getString(config_prefix + "table")}, sample_block{sample_block}, context(context), is_local{isLocal(host, port)}, - pool{is_local ? nullptr : ext::make_unique( + pool{/*is_local ? nullptr : */ext::make_unique( max_connections, host, port, db, user, password, context.getDataTypeFactory(), "ClickhouseDictionarySource") }, @@ -40,7 +40,7 @@ public: db{other.db}, table{other.db}, sample_block{other.sample_block}, context(other.context), is_local{other.is_local}, - pool{is_local ? nullptr : ext::make_unique( + pool{/*is_local ? nullptr : */ext::make_unique( max_connections, host, port, db, user, password, context.getDataTypeFactory(), "ClickhouseDictionarySource")}, load_all_query{other.load_all_query}