Skip to content

Commit

Permalink
Sod - missed an instance!
Browse files Browse the repository at this point in the history
  • Loading branch information
bos committed Jun 1, 2011
1 parent 7d4a015 commit 14a9f31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Database/MySQL/Simple/Param.hs
Expand Up @@ -90,8 +90,9 @@ instance Param (Binary SB.ByteString) where
fromChar '\''

instance Param (Binary LB.ByteString) where
render (Binary bs) = Plain $ fromByteString "0x" `mappend`
fromLazyByteString (L16.encode bs)
render (Binary bs) = Plain $ fromByteString "x'" `mappend`
fromLazyByteString (L16.encode bs) `mappend`
fromChar '\''

renderNull :: Action
renderNull = Plain (fromByteString "null")
Expand Down

0 comments on commit 14a9f31

Please sign in to comment.