|
From: Markus H. <mar...@mh...> - 2006-01-12 21:44:41
|
Hi Jeremy, are you using the libdbi-0.8.1 sources? A similar problem has been reported before by Sami Tolvanen, see: http://sourceforge.net/mailarchive/forum.php?thread_id=9174478&forum_id=33788 This problem has been fixed in the CVS version. Could you please check out the CVS version and see whether this eliminates your problem? regards, Markus Jeremy Cowgar writes: > I believe the actual problem lies in dbi_result.c, around like 539: > > if (result->numfields) { > > As seen above, PostgreSQL set's the numfields to zero, yet it does fill > in the result->field_names, result->field_types, result->field_attribs > that are free'd inside this if statement. > > I *hacked* the if statement above to read: > > if (result->numfields || result->field_names != NULL) { > -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |