Skip to content

Fix incorrect LIKE for patterns with repeating substrings#20100

Merged
martint merged 1 commit intotrinodb:masterfrom
martint:like
Dec 13, 2023
Merged

Fix incorrect LIKE for patterns with repeating substrings#20100
martint merged 1 commit intotrinodb:masterfrom
martint:like

Conversation

@martint
Copy link
Member

@martint martint commented Dec 13, 2023

After the initial KMP mismatch, the next match was being skipped at position i == longest match.

Fixes #20089

Release notes

(x) Release notes are required, with the following suggested text:

# Section
* Fix incorrect results for LIKE with some strings containing repeated substrings. ({issue}`20089`)

After the initial KMP mismatch, the next match was being skipped
at position i == longest match.
@cla-bot cla-bot bot added the cla-signed label Dec 13, 2023
@martint martint merged commit f52ce04 into trinodb:master Dec 13, 2023
@martint martint deleted the like branch December 13, 2023 22:32
@github-actions github-actions bot added this to the 435 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Incorrect results when using LIKE against certains strings with repeating syllables

2 participants