mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Slightly better for gcc-9
This commit is contained in:
parent
6eba45821b
commit
31b955e14a
@ -376,7 +376,7 @@ bool ContextAccess::checkAccessImpl2(const AccessFlags & flags, const Args &...
|
|||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
auto access_denied = [&](const String & error_msg, int error_code)
|
auto access_denied = [&](const String & error_msg, int error_code [[maybe_unused]])
|
||||||
{
|
{
|
||||||
if (trace_log)
|
if (trace_log)
|
||||||
LOG_TRACE(trace_log, "Access denied: {}{}", (AccessRightsElement{flags, args...}.toString()),
|
LOG_TRACE(trace_log, "Access denied: {}{}", (AccessRightsElement{flags, args...}.toString()),
|
||||||
|
Loading…
Reference in New Issue
Block a user