[Rpm-maint] [rpm-software-management/rpm] Fix prefix match searches on strings containing % on sqlite backend (#1085)
Panu Matilainen
notifications at github.com
Wed Feb 26 10:42:35 UTC 2020
SQL LIKE is a quirky thing when you only really want exact matches
on a substring. Which begs the question, if we want exact matches on
substring then why not do just that? Why not, indeed. This avoids
escaping madness and the need to use custom extensions for such
a mundane, trivial thing.
Fixes: #1018
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1085
-- Commit Summary --
* Fix prefix match searches on strings containing % on sqlite backend
-- File Changes --
M lib/backend/sqlite.c (4)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1085.patch
https://github.com/rpm-software-management/rpm/pull/1085.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1085
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200226/51f087fd/attachment.html>
More information about the Rpm-maint
mailing list