clickhouse-haskell 0.1.2.3 → 0.1.2.4
raw patch · 3 files changed
+6/−4 lines, 3 filesdep ~containersPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: containers
API changes (from Hackage documentation)
Files
- clickhouse-haskell.cabal +3/−3
- src/Database/ClickHouseDriver/Block.hs +1/−0
- src/Database/ClickHouseDriver/Column.hs +2/−1
clickhouse-haskell.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.12 name: clickhouse-haskell-version: 0.1.2.3+version: 0.1.2.4 synopsis: A Haskell library as database client for Clickhouse homepage: https://github.com/2049foundation/clickhouse-haskell/ bug-reports: https://github.com/2049foundation/clickhouse-haskell/issues@@ -54,7 +54,7 @@ src build-depends: base >=4.12 && <5,- containers >= 0.5.7 && < 0.6,+ containers >= 0.5.7 && < 0.7, array >= 0.5.1 && < 0.6, time >= 1.9 && < 1.12, transformers >= 0.5.2 && < 0.6,@@ -125,7 +125,7 @@ QuickCheck >= 2.13 && <3, hspec >= 2.0 && <3, HUnit >= 1.6 && <1.7,- containers >= 0.5.7 && < 0.6,+ containers >= 0.5.7 && < 0.7, array >= 0.5.1 && < 0.6, time >= 1.9 && < 1.12, transformers >= 0.5.2 && < 0.6,
src/Database/ClickHouseDriver/Block.hs view
@@ -53,6 +53,7 @@ import Data.Vector (Vector) import Data.Vector ((!)) import qualified Data.Vector as V+import Data.Time.LocalTime (CalendarDiffTime (..)) --Debug --import Debug.Trace
src/Database/ClickHouseDriver/Column.hs view
@@ -106,6 +106,7 @@ ip6FromWords, ip6ToWords, )+import Data.List (foldl') #define EQUAL 61 #define COMMA 44 #define SPACE 32@@ -590,7 +591,7 @@ -- x:xs is the let numElem = fromIntegral $ V.sum x -- number of elements in the nested array. elems <- readColumn server_info numElem lastSpec- let result' = foldl combine elems (x : xs)+ let result' = foldl' combine elems (x : xs) let CKArray arr = result' ! 0 return arr where