aboutsummaryrefslogtreecommitdiff
path: root/www/hs-postgrest/files/extra-patch-__cabal__deps_hasql-1.4.2_library_Hasql_Private_IO.hs
diff options
context:
space:
mode:
Diffstat (limited to 'www/hs-postgrest/files/extra-patch-__cabal__deps_hasql-1.4.2_library_Hasql_Private_IO.hs')
-rw-r--r--www/hs-postgrest/files/extra-patch-__cabal__deps_hasql-1.4.2_library_Hasql_Private_IO.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/hs-postgrest/files/extra-patch-__cabal__deps_hasql-1.4.2_library_Hasql_Private_IO.hs b/www/hs-postgrest/files/extra-patch-__cabal__deps_hasql-1.4.2_library_Hasql_Private_IO.hs
new file mode 100644
index 000000000000..a5639d5199ba
--- /dev/null
+++ b/www/hs-postgrest/files/extra-patch-__cabal__deps_hasql-1.4.2_library_Hasql_Private_IO.hs
@@ -0,0 +1,13 @@
+--- _cabal_deps/hasql-1.4.2/library/Hasql/Private/IO.hs.orig 2020-03-21 17:55:07 UTC
++++ _cabal_deps/hasql-1.4.2/library/Hasql/Private/IO.hs
+@@ -157,9 +157,7 @@ sendParametricStatement ::
+ IO (Either CommandError ())
+ sendParametricStatement connection integerDatetimes registry template encoder prepared params =
+ {-# SCC "sendParametricStatement" #-}
+- if prepared
+- then sendPreparedParametricStatement connection registry integerDatetimes template encoder params
+- else sendUnpreparedParametricStatement connection integerDatetimes template encoder params
++ sendUnpreparedParametricStatement connection integerDatetimes template encoder params
+
+ {-# INLINE sendNonparametricStatement #-}
+ sendNonparametricStatement :: LibPQ.Connection -> ByteString -> IO (Either CommandError ())