]> Sergey Matveev's repositories - public-inbox.git/commit
extindex: --gc: use escape pathnames for SQL LIKE properly
authorEric Wong <e@80x24.org>
Sat, 24 Apr 2021 10:23:30 +0000 (10:23 +0000)
committerEric Wong <e@80x24.org>
Sat, 24 Apr 2021 20:10:04 +0000 (16:10 -0400)
commit1c0dce28a8604b16488ea7416dcf1bddd66a5d42
tree2ff3d81eba6b4ee1e2c9113763cb20bf0b4c782b
parentb6b86cfd238c170ea3e2c4d4179f06c7af139086
extindex: --gc: use escape pathnames for SQL LIKE properly

This allows us to handle odd inboxes w/o a newsgroup configured
if they also make the strange choice of having backslashes in
their path name.  Also, ensure we use case-sensitive LIKE, since
case-insensitive FSes are not worth supporting.
lib/PublicInbox/ExtSearchIdx.pm