-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 skip custom escape #11091
Fix skip custom escape #11091
Conversation
✅ Deploy Preview for meta-velox canceled.
|
393adc4
to
6be7d5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for your quick fix.
@Yuhta @mbasmanova Please help to import this PR. |
@kagamiori has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@kagamiori merged this pull request in 50784a5. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Summary: Fix csutom escape char for substrings-search in constant like pattern. The exsit ut has covered the custom-escape case but escape char '#' is just not supported by substrings-search ``` testLike("%cd", "%#%%", '#', true); testLike("cde", "%#%%", '#', false); ``` Add ut to cover the case: ``` testLike("///__", "%//%/%", '/', false); ``` Pull Request resolved: facebookincubator#11091 Reviewed By: Yuhta, amitkdutta Differential Revision: D63395708 Pulled By: kagamiori fbshipit-source-id: e5eb651695f27fe5ff88b72963aa70d4a550ba7a
Fix csutom escape char for substrings-search in constant like pattern.
The exsit ut has covered the custom-escape case but escape char '#' is just not supported by substrings-search
Add ut to cover the case: