From: Markus Hoenicka <markus.hoenicka@mh...> - 2005-09-28 07:29:03
I've found a serious bug in dbi_result_get_string_idx(). libdbi erroneously
returns a NULL string if the database contains an empty string. SQL mandates
that NULL is distinct from '', therefore the current version of libdbi may
cause data corruption. Affected are dbi_result_get_string_idx() and
dbi_result_get_string() which calls the former.
The fix is ridiculously trivial, see my last two checkins of src/dbi_result.c
(the second patch only fixes a misleading comment in the first one). I think we
should release 0.8.1 as soon as possible. Are there any other minor changes
necessary that should be included into this release?
(Spam-protected email: replace the quadrupeds with "mhoenicka")