summaryrefslogtreecommitdiff
path: root/Database/Fsck.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-02-18 16:56:52 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-02-18 16:56:52 -0400
commit814a3ea8c651f66a55638e0c40f13c1897b29a32 (patch)
tree6f46f53c612b6610eb49b9a16b9d6fe5483166ef /Database/Fsck.hs
parentd8125c9ea6d00b41f994162a0060f39e56107b12 (diff)
deal with rare SELECT ErrorBusy failures
I think they might be a sqlite bug. In discussions with sqlite devs.
Diffstat (limited to 'Database/Fsck.hs')
-rw-r--r--Database/Fsck.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Database/Fsck.hs b/Database/Fsck.hs
index 92c814cf1..d249c8de6 100644
--- a/Database/Fsck.hs
+++ b/Database/Fsck.hs
@@ -96,7 +96,7 @@ addDb (FsckHandle h _) k = H.queueDb h 1000 $
sk = toSKey k
inDb :: FsckHandle -> Key -> IO Bool
-inDb (FsckHandle h _) = H.queryDb h . inDb' . toSKey
+inDb (FsckHandle h _) = H.queryDb h False . inDb' . toSKey
inDb' :: SKey -> SqlPersistM Bool
inDb' sk = do