Merge pull request #48297 from murfel/fix-forgotten-showsecrets-in-semi-copy-ctor

Fix: copy forgotten show_secrets in FormatSettings semi-copy-ctor
This commit is contained in:
Vitaly Baranov 2023-04-06 14:27:16 +02:00 committed by GitHub
commit 1b1fdeddd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,8 @@ public:
FormatSettings(WriteBuffer & ostr_, const FormatSettings & other)
: ostr(ostr_), hilite(other.hilite), one_line(other.one_line),
always_quote_identifiers(other.always_quote_identifiers), identifier_quoting_style(other.identifier_quoting_style)
always_quote_identifiers(other.always_quote_identifiers), identifier_quoting_style(other.identifier_quoting_style),
show_secrets(other.show_secrets)
{
nl_or_ws = one_line ? ' ' : '\n';
}