This commit is contained in:
Alexander Tokmakov 2024-04-11 19:47:42 +02:00
parent dcd0831f4c
commit 20e8b64cee
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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 {}; }