[redland-dev] MySQL connection crash bug

Dave Beckett dave.beckett at bristol.ac.uk
Tue Dec 21 03:14:45 PST 2004


On Tue, 21 Dec 2004 01:25:10 +0100, Morten Frederiksen <mof-rdf at mfd-consult.dk> wrote:

> Hi all,
> 
> Seems these are the days of surfacing bugs...
> 
> Matt Biddulph pointed out that the MySQL storage engine crashes when the 
> server isn't available (or the credentials are wrong). This is due to the 
> "missing" connection being used to escape a string.
> 
> The attached patch seems to work.

I've applied that to CVS and the earlier one I posted here slighty
updated since there I founda bunch of error paths in the get_contexts
iterator implemenation that also try to destroy the iterator on
failure when they shouldn't.

Dave


More information about the redland-dev mailing list