fix build

This commit is contained in:
Alexander Tokmakov 2020-07-15 13:18:30 +03:00
parent 09abe71b60
commit 2fe2833a0d
2 changed files with 3 additions and 3 deletions

View File

@ -607,8 +607,8 @@ void InterpreterCreateQuery::setEngine(ASTCreateQuery & create) const
void InterpreterCreateQuery::assertOrSetUUID(ASTCreateQuery & create, const DatabasePtr & database) const void InterpreterCreateQuery::assertOrSetUUID(ASTCreateQuery & create, const DatabasePtr & database) const
{ {
const auto kind = create.is_dictionary ? "Dictionary" : "Table"; const auto * kind = create.is_dictionary ? "Dictionary" : "Table";
const auto kind_upper = create.is_dictionary ? "DICTIONARY" : "TABLE"; const auto * kind_upper = create.is_dictionary ? "DICTIONARY" : "TABLE";
if (database->getEngineName() == "Atomic") if (database->getEngineName() == "Atomic")
{ {

View File

@ -187,7 +187,7 @@ StorageReplicatedMergeTree::StorageReplicatedMergeTree(
true, /// require_part_metadata true, /// require_part_metadata
attach, attach,
[this] (const std::string & name) { enqueuePartForCheck(name); }) [this] (const std::string & name) { enqueuePartForCheck(name); })
, zookeeper_path(zookeeper_path_) , zookeeper_path(normalizeZooKeeperPath(zookeeper_path_))
, replica_name(replica_name_) , replica_name(replica_name_)
, replica_path(zookeeper_path + "/replicas/" + replica_name) , replica_path(zookeeper_path + "/replicas/" + replica_name)
, reader(*this) , reader(*this)