packages feed

cassandra-cql 0.3.0.0 → 0.3.0.1

raw patch · 2 files changed

+6/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Database/Cassandra/CQL.hs view
@@ -190,7 +190,7 @@ import qualified Data.UUID as UUID import Data.Word import Network.Socket (Socket, HostName, ServiceName, getAddrInfo, socket, AddrInfo(..),-    connect, sClose, SockAddr(..))+    connect, sClose, SockAddr(..), SocketType(..), defaultHints) import Network.Socket.ByteString (send, sendAll, recv) import Numeric import Unsafe.Coerce@@ -261,8 +261,9 @@     if isJust (sesActive session)         then return session         else do+            let hints = defaultHints { addrSocketType = Stream }             let (host, service) = sesServer session-            ais <- getAddrInfo Nothing (Just  host) (Just service)+            ais <- getAddrInfo (Just hints) (Just host) (Just service)             mSocket <- foldM (\mSocket ai -> do                     case mSocket of                         Nothing -> do
cassandra-cql.cabal view
@@ -1,8 +1,10 @@ name:                cassandra-cql-version:             0.3.0.0+version:             0.3.0.1 synopsis:            Haskell client for Cassandra's CQL protocol description:   Haskell client for Cassandra's CQL protocol+  .+  Revision history: 0.3.0.1 Fix socket issue on Mac. license:             BSD3 license-file:        LICENSE author:              Stephen Blackheath