File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/Database/PostgreSQL/Simple Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ copy conn template qs = do
6666-- | Issue a @COPY FROM STDIN@ or @COPY TO STDOUT@ query. In the former
6767-- case, the connection's state will change to @CopyIn@; in the latter,
6868-- @CopyOut@. The connection must be in the ready state in order
69- -- to call this function. Does not perform parameter subsitution .
69+ -- to call this function. Does not perform parameter substitution .
7070
7171copy_ :: Connection -> Query -> IO ()
7272copy_ conn (Query q) = do
Original file line number Diff line number Diff line change @@ -647,7 +647,7 @@ okInt = ok32
647647okInt = ok64
648648#endif
649649
650- -- | eq and \/ are used to imlement what Macro stuff did,
650+ -- | eq and \/ are used to implement what Macro stuff did,
651651-- i.e. mkCompats and inlineTypoid
652652eq :: PQ. Oid -> PQ. Oid -> Bool
653653eq = (==)
Original file line number Diff line number Diff line change @@ -625,7 +625,7 @@ escapeByteaConn = escapeWrap PQ.escapeByteaConn
625625breakOnSingleQuestionMark :: ByteString -> (ByteString , ByteString )
626626breakOnSingleQuestionMark b = go (B8. empty, b)
627627 where go (x,bs) = (x `B8.append` x',bs')
628- -- seperate from first QM
628+ -- separate from first QM
629629 where tup@ (noQ, restWithQ) = B8. break (== ' ?' ) bs
630630 -- if end of query, just return
631631 -- else check for second QM in 'go2'
You can’t perform that action at this time.
0 commit comments