better approach to enabling WAL mode

The old approach opened the database an extra time to enable WAL mode,
but more recent persistent-sqlite has a better API to enable it.
This commit is contained in:
Joey Hess 2018-10-30 13:47:38 -04:00
parent f00b329e0c
commit 3963c5fcf5
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 19 additions and 16 deletions

View file

@ -1,6 +1,6 @@
{- Persistent sqlite database handles.
-
- Copyright 2015 Joey Hess <id@joeyh.name>
- Copyright 2015-2018 Joey Hess <id@joeyh.name>
-
- Licensed under the GNU GPL version 3 or higher.
-}