mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
fix build
This commit is contained in:
parent
09abe71b60
commit
2fe2833a0d
@ -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")
|
||||||
{
|
{
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user