debuginfod: store only canonicalized sref pathnames in database
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 18 Sep 2020 17:03:01 +0000 (13:03 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 18 Sep 2020 17:13:02 +0000 (13:13 -0400)
commit04bcab70c7dcb9c1bc7ca49508b5d7cbd5aeaa1a
tree00af8884adc1d15e4c721fce0170f11aa27aea5b
parente39b33d6bee578eceb27482fbce55e5c5516821b
debuginfod: store only canonicalized sref pathnames in database

Since PR25548, we let debuginfod answer /buildid/HEX/source/PATH
queries with both canonicalized and raw PATHs.  It canonicalizes
incoming paths, but still stored the raw paths in the database too.
This near-dupe storage is not needed, since the queries would always
find the canonicalized version too, so stop doing that.  This saves
database space/time.

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx