ISSUES-2581 fix build

This commit is contained in:
VadimPE 2018-08-14 13:24:39 +03:00
parent 3c0f6ce87b
commit a37ad50329

View File

@ -2892,8 +2892,8 @@ BlockInputStreams StorageReplicatedMergeTree::read(
{
auto zookeeper = getZooKeeper();
String last_part;
zookeeper->tryGet(zookeeper_path + "/quorum/last_part", last_part);
String last_parts;
zookeeper->tryGet(zookeeper_path + "/quorum/last_part", last_parts);
/*
if (!last_part.empty() && !data.getActiveContainingPart(last_part)) /// TODO Disable replica for distributed queries.