persistent-sqlite 2.2.1 → 2.2.1.1
raw patch · 3 files changed
+6/−2 lines, 3 files
Files
- ChangeLog.md +4/−0
- Database/Persist/Sqlite.hs +1/−1
- persistent-sqlite.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 2.2.1.1++* Ensure connection is closed if wrapConnectionWal fails+ ## 2.2.1 * Upgrade to SQLite 3.8.11.1 [#444](https://github.com/yesodweb/persistent/pull/444)
Database/Persist/Sqlite.hs view
@@ -77,7 +77,7 @@ | otherwise -> (connStr, True) conn <- Sqlite.open connStr'- wrapConnectionWal enableWal conn logFunc+ wrapConnectionWal enableWal conn logFunc `E.onException` Sqlite.close conn -- | Wrap up a raw 'Sqlite.Connection' as a Persistent SQL 'Connection'. --
persistent-sqlite.cabal view
@@ -1,5 +1,5 @@ name: persistent-sqlite-version: 2.2.1+version: 2.2.1.1 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>