link to bug report blob

delete from tree
This commit is contained in:
Joey Hess 2018-10-30 12:07:38 -04:00
parent 57107cf213
commit a89db2c604
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 4 additions and 297 deletions

View file

@ -188,7 +188,10 @@ runSqliteRobustly tablename db a = do
-- sometimes take a while to become usable; select statements will
-- fail with ErrorBusy for some time. So, loop until a select
-- succeeds; once one succeeds the connection will stay usable.
-- <http://thread.gmane.org/gmane.comp.db.sqlite.general/93116>
--
-- I reported this bug, but the sqlite developers did not respond.
-- Bug report is archived in blob 500f777a6ab6c45ca5f9790e0a63575f8e3cb88f
-- in git-annex git repo.
settle conn = do
r <- tryNonAsync $ do
stmt <- Sqlite.prepare conn nullselect