segfaults in mysql driver

Paul J Stevens paul at nfg.nl
Wed Mar 19 15:40:53 CET 2008


Ok, I get it, I think.

Reading the source I come to the conclusion that I should use ResetSet_readData
for any column wider than STRLEN chars rather than _getString or _getBlob

kind of defeats the purpose of those last two methods, doesn't it?

Or am I still missing something here?



Paul J Stevens wrote:
> Jan-Henrik,
> 
> I'm running into some problems with the mysql backend. I can't seem to retrieve
> long-ish strings.
> 
> The attached code will reliably segfault on my systems.
> 
> This code does *not* fail on Postgresql.
> 
> Am I doing something wrong?
> 
> thanks,
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> --
> To unsubscribe:
> http://www.tildeslash.com/mailman/listinfo/libzdb-general


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl


More information about the libzdb-general mailing list