Skip to content

Commit

Permalink
Merge pull request #245 from george-steel/master
Browse files Browse the repository at this point in the history
Add support for CockroachDB
  • Loading branch information
lpsmith authored Mar 12, 2018
2 parents 664d608 + b6feac8 commit 14d00c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/PostgreSQL/Simple/Transaction.hs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ withTransactionModeRetry mode shouldRetry conn act =

-- | Rollback a transaction.
rollback :: Connection -> IO ()
rollback conn = execute_ conn "ABORT" >> return ()
rollback conn = execute_ conn "ROLLBACK" >> return ()

-- | Rollback a transaction, ignoring any @IOErrors@
rollback_ :: Connection -> IO ()
Expand Down

0 comments on commit 14d00c2

Please sign in to comment.