-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug #25167284: LIKE FUNCTION GIVES WRONG RESULT FOR ACCENTED CHARACTERS
For ai_ci collations, accented characters compare equal with their base character, but the LIKE function treats them different. This is because my_uca_charcmp_900 compares characters without handling ignorable weight. Solution: Change my_uca_charcmp_900 function to compare characters' weight correctly. This patch also fixed the bug that LIKE function returns error result when the last two pattern characters are w_many followed by escape (ex, 'a%\\'), and reduced duplicated mb_wc call on same character. Change-Id: I960bb14d6b239cf3f504f2f703bf69cd58ecb1e8
- Loading branch information
Xing Zhang
committed
Dec 12, 2016
1 parent
294a327
commit c5c1459
Showing
2 changed files
with
223 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.