mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
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);
|
||
|
|
||
|
}
|