[Haskell-cafe] Re: garbage collector woes
Chris Waterson
waterson at maubi.net
Wed Feb 18 17:24:51 EST 2009
On Feb 17, 2009, at 12:22 PM, Chris Waterson wrote:
> I'm at wits end with respect to GHC's garbage collector and would very
> much appreciate a code review of my MySQL driver for HDBC, which is
> here:
>
> <http://www.maubi.net/~waterson/REPO/HDBC-mysql/Database/HDBC/MySQL/Connection.hsc
> >
>
> In particular, the problem that I'm having is that my "statements"
> (really, just iterators over a SQL query result set) are getting
> garbage collected prematurely.
So (*blush*), my woes turned out to be my misunderstanding of the
MySQL C API, which
I have now come to terms with. I apologize for the noise here.
chris
More information about the Haskell-Cafe
mailing list