mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-12-27 12:35:50 +03:00
The "getvalue'" optimization!
This commit is contained in:
parent
8937fe6e1e
commit
23c3946bac
@ -46,7 +46,7 @@ value valueDes =
|
||||
writeIORef columnRef (succ col)
|
||||
if col < columnsAmount
|
||||
then do
|
||||
valueMaybe <- LibPQ.getvalue result row col
|
||||
valueMaybe <- {-# SCC "getvalue'" #-} LibPQ.getvalue' result row col
|
||||
pure $
|
||||
case valueMaybe of
|
||||
Nothing ->
|
||||
|
Loading…
Reference in New Issue
Block a user