hasql 1.4.5.1 → 1.4.5.2
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
hasql.cabal view
@@ -1,5 +1,5 @@ name: hasql-version: 1.4.5.1+version: 1.4.5.2 category: Hasql, Database, PostgreSQL synopsis: An efficient PostgreSQL driver with a flexible mapping API description:
library/Hasql/Private/Decoders/Result.hs view
@@ -164,7 +164,7 @@ rowResult <- Row.run rowDec (result, intToRow rowIndex, maxCols, integerDatetimes) case rowResult of Left !x -> writeIORef failureRef (Just (RowError rowIndex x))- Right !x -> modifyIORef accRef (\acc -> step acc x)+ Right !x -> modifyIORef' accRef (\acc -> step acc x) readIORef failureRef >>= \case Nothing -> Right <$> readIORef accRef Just x -> pure (Left x)