Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: copy forgotten show_secrets in FormatSettings semi-copy-ctor #48297

Merged

Conversation

murfel
Copy link
Contributor

@murfel murfel commented Mar 31, 2023

Found during working on #45649.

Not a bug, but rather an inconsistency, as there seems to be no usage of that semi-copy-ctor involving secrets.

This is the only usage:

IAST::FormatSettings temp_settings(temp_buf, settings);

I grepped by case-aware FormatSettings.*(\{|\().*,.*(\}|\)). Then commented out the semi-copy-ctor and this usage and was able to compile correctly.

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

@vitlibar vitlibar self-assigned this Mar 31, 2023
@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 31, 2023
@vitlibar vitlibar added the can be tested Allows running workflows for external contributors label Mar 31, 2023
@murfel
Copy link
Contributor Author

murfel commented Apr 3, 2023

@vitlibar could you help me understand what's the CI problem? I see that it's BuiderDebMsan failing but I can't make sense of its log.

@vitlibar
Copy link
Member

vitlibar commented Apr 6, 2023

The test failure 00002_log_and_exception_messages_formatting doesn't seem related to this PR's changes.

@vitlibar vitlibar merged commit 1b1fded into ClickHouse:master Apr 6, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can be tested Allows running workflows for external contributors pr-not-for-changelog This PR should not be mentioned in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants