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 to #17948 - Bracket [ not escape in string.StartsWith #18408

Merged
merged 1 commit into from
Oct 17, 2019
Merged

Conversation

maumar
Copy link
Contributor

@maumar maumar commented Oct 16, 2019

For StartsWith where pattern was a non-constant we used an optimization involving LIKE, however this could lead to incorrect results if the pattern contained a wildcard.
Fix is to remove the optimization. If needed, users can explicitly use LIKE to improve the performance.

Resolves #17948

For StartsWith where pattern was a non-constant we used an optimization involving LIKE, however this could lead to incorrect results if the pattern contained a wildcard.
Fix is to remove the optimization. If needed, users can explicitly use LIKE to improve the performance.

Resolves #17948
@maumar maumar merged commit 37de58b into release/3.1 Oct 17, 2019
@maumar maumar deleted the fix17948 branch October 17, 2019 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bracket [ not escape in string.StartsWith
2 participants