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 like matching with newlines and no wildcard #23404

Merged
merged 1 commit into from
Aug 12, 2024

Commits on Aug 12, 2024

  1. Fix like matching with newlines and no wildcard

    LIKE expressions were not looking past newlines when there was no wild
    card. That means that certain expressions were incorrectly returning
    matches when after the newline the input did not match. This change
    fixes that behavior. For example:
    
    SELECT 'foo\nbar' LIKE 'foo'.
    
    Previously that query would return "true". Now it will return
    false.
    rschlussel committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    21eb6f0 View commit details
    Browse the repository at this point in the history