mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Make function static
This commit is contained in:
parent
4de1d6d421
commit
b97ff8136b
@ -152,7 +152,7 @@ StorageKafka::StorageKafka(
|
||||
task->deactivate();
|
||||
}
|
||||
|
||||
const String StorageKafka::getDefaultClientId(const StorageID & table_id_) const
|
||||
String StorageKafka::getDefaultClientId(const StorageID & table_id_)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << VERSION_NAME << "-" << getFQDNOrHostName() << "-" << table_id_.database_name << "-" << table_id_.table_name;
|
||||
|
@ -116,7 +116,7 @@ private:
|
||||
void updateConfiguration(cppkafka::Configuration & conf);
|
||||
|
||||
void threadFunc();
|
||||
const String getDefaultClientId(const StorageID & table_id_) const;
|
||||
static String getDefaultClientId(const StorageID & table_id_);
|
||||
bool streamToViews();
|
||||
bool checkDependencies(const StorageID & table_id);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user