Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow execute to work when rows are returned

  • Loading branch information...
commit a9334c4c26054575b5b3f182b0204307737f0bc6 1 parent f567ae2
@snoyberg snoyberg authored
View
2  persistent-sqlite/Database/Persist/Sqlite.hs
@@ -116,7 +116,7 @@ insertSql' t cols _ =
execute' :: Sqlite.Connection -> Sqlite.Statement -> [PersistValue] -> IO Int64
execute' conn stmt vals = flip finally (liftIO $ Sqlite.reset conn stmt) $ do
Sqlite.bind stmt vals
- Sqlite.Done <- Sqlite.step stmt
+ _ <- Sqlite.step stmt
Sqlite.changes conn
withStmt'
View
2  persistent-sqlite/persistent-sqlite.cabal
@@ -1,5 +1,5 @@
name: persistent-sqlite
-version: 1.1.4
+version: 1.1.4.1
license: MIT
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
Please sign in to comment.
Something went wrong with that request. Please try again.