Hi Matyas,

Dr. Matyas Koniorczyk writes:
 > I hope next week I can put some effort into it as well
 > (unfortunately I had simply no time for this task in the last few
 > weeks). I'm neither a firebird expert but I need it for a project.
 > The C API is really complicated to use (compared with, e.g. that of
 > MySQL).

I can only second this. The API must have been designed eons ago and
 never changed since.

 > The problem should be of course some minor allocation problem which
 > is, up to my experience, not hard to "achieve" with this API.

Apparently I freed a buffer when I was not supposed to. I've checked
in a fixed version of dbd_firebird.c which works mostly ok on both
FreeBSD and Debian. That is, it no longer crashes on Debian, although
I still get the "unsuccessful metadata update" error in the "Drop
table" test on both platforms. I'll look into this as well. I also see
some suspicious values in the data retrieval tests, so this asks for
a little additional polish. I'd appreciate if you could confirm the
fix on Ubuntu.

 > And the platform dependence, that is again a weird issue... 
This is most likely due to the fact that FreeBSD uses an entirely
different and far more versatile malloc() implementation. Using the
default settings allocated memory access is very forgiving on FreeBSD,
so it is always a good idea to use valgrind.

regards,
Markus

-- 
Markus Hoenicka
markus.hoeni...@cats.de
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to