mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
fix
This commit is contained in:
parent
dcd0831f4c
commit
20e8b64cee
@ -475,7 +475,7 @@ const String & Connection::getDefaultDatabase() const
|
||||
return default_database;
|
||||
}
|
||||
|
||||
const String & Connection::getDescription(bool with_extra) const
|
||||
const String & Connection::getDescription(bool with_extra) const /// NOLINT
|
||||
{
|
||||
if (with_extra)
|
||||
return full_description;
|
||||
|
@ -88,7 +88,7 @@ public:
|
||||
const String & getServerDisplayName(const ConnectionTimeouts & timeouts) override;
|
||||
|
||||
/// For log and exception messages.
|
||||
const String & getDescription(bool with_extra = false) const override;
|
||||
const String & getDescription(bool with_extra = false) const override; /// NOLINT
|
||||
const String & getHost() const;
|
||||
UInt16 getPort() const;
|
||||
const String & getDefaultDatabase() const;
|
||||
|
@ -88,7 +88,7 @@ public:
|
||||
virtual const String & getServerTimezone(const ConnectionTimeouts & timeouts) = 0;
|
||||
virtual const String & getServerDisplayName(const ConnectionTimeouts & timeouts) = 0;
|
||||
|
||||
virtual const String & getDescription(bool with_extra = false) const = 0;
|
||||
virtual const String & getDescription(bool with_extra = false) const = 0; /// NOLINT
|
||||
|
||||
virtual std::vector<std::pair<String, String>> getPasswordComplexityRules() const = 0;
|
||||
|
||||
|
@ -90,7 +90,7 @@ public:
|
||||
const String & getServerTimezone(const ConnectionTimeouts & timeouts) override;
|
||||
const String & getServerDisplayName(const ConnectionTimeouts & timeouts) override;
|
||||
|
||||
const String & getDescription([[maybe_unused]] bool with_extra = false) const override { return description; }
|
||||
const String & getDescription([[maybe_unused]] bool with_extra = false) const override { return description; } /// NOLINT
|
||||
|
||||
std::vector<std::pair<String, String>> getPasswordComplexityRules() const override { return {}; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user