fix sql syntax

This commit is contained in:
Joey Hess 2019-10-24 11:57:17 -04:00
parent 098afe144e
commit 0f7fd008d4
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -137,7 +137,7 @@ isInodeKnown i s = readDb query
likesql = T.concat
[ "SELECT key FROM content WHERE "
, T.unwords (map mklike (likeInodeCacheWeak i))
, T.intercalate " OR " $ map mklike (likeInodeCacheWeak i)
, " LIMIT 1"
]