aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Databases/DatabaseReplicatedHelpers.h
blob: ee9077e213cacdf100202805b7b1b44d13b1d5c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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);

}