hdbc/hdbc-odbc

non-strict version of quickQuery fails

romankr opened this issue · 1 comments

It looks like a bug that a sequence of two calls of non-strict version of a quickQuery function leads to an user error (see https://gist.github.com/romankr/5553271).

I'm using
GHC Version: 7.4.1, stage 2 booted by GHC version 7.0.4
Windows 7 32-bit
HDBC-ODBC version: 2.3.1.0

Interesting to see this 3 years later - I just found exactly the same issue right now on UNIX, GHC8. There is something wrong with generating the result list, it must be forced before the connection is reused/closed.