Steffen Goeldner wrote:

Cosimo Streppone wrote:
Hi all,

I found a strange problem in DBI::type_info().
I don't know much of DBI internals. Only found that "sometimes",
the 'type_info_all' structure returned by the driver is
mangled by some shift() that happens in DBI::type_info().

FTR: This was the reason for this patch:

  <http://www.xray.mpe.mpg.de/mailing-lists/dbi/2005-02/msg00085.html>

Has this patch been already applied?
I found this "problem" with DBI 1.48. I didn't test it with 1.53.
Should I ?

 > [...] No, bad. Probably it's better to change in DBI.pm.

Well, safety vs. efficiency - Tim should decide.

I think changing DBI.pm is both safer and more efficient,
because as far as I can understand, type_info_all() should be called
only once in the DBI lifetime.

The fact that I'm seeing this problem is probably due to
multiple opening/closing of different DBI handles (for DBD::Pg &&
DBD::Informix together).

--
Cosimo

Reply via email to