
19 Feb
2009
19 Feb
'09
6:41 p.m.
waterson:
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/Connectio...
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.
Is the solution written up somewhere so we can point to that next time? :)