mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
7a43a87f5b
* fix another issue * use shard and replica name from Replicated database * fix Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
15 lines
281 B
C++
15 lines
281 B
C++
#pragma once
|
|
#include <Core/Types.h>
|
|
#include <memory>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class IDatabase;
|
|
using DatabasePtr = std::shared_ptr<IDatabase>;
|
|
|
|
String getReplicatedDatabaseShardName(const DatabasePtr & database);
|
|
String getReplicatedDatabaseReplicaName(const DatabasePtr & database);
|
|
|
|
}
|