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

feat: Escape log_comment in query #315

Closed

Conversation

Blokje5
Copy link
Collaborator

@Blokje5 Blokje5 commented Mar 3, 2023

Description

Added a regex that matches any SETTINGS log_comment in a query, and ensures that SETTING is removed.

Fixes #314

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Checklist

  • Linter passes correctly
  • Add tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary

Does this introduce a breaking change?

  • Yes
  • No

Further comments

Added a regex that matches any SETTINGS log_comment in a query, and ensures that SETTING is removed.

Signed-off-by: Lennard Eijsackers <[email protected]>
@Blokje5 Blokje5 force-pushed the feat/escape-log-comment-in-query branch from 4771f77 to 6852b8a Compare March 3, 2023 16:36
@mga-chka
Copy link
Collaborator

I'm closing the PR for the moment since the given solution is not good enough in terms of performance

@mga-chka mga-chka closed this Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Remove log_comment from the cache key
2 participants