mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 04:52:10 +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);
|
|
|
|
}
|