The "getvalue'" optimization!

This commit is contained in:
Nikita Volkov 2015-11-21 11:44:57 +03:00
parent 8937fe6e1e
commit 23c3946bac

View File

@ -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 ->