I've managed to answer at least 1 of my own questions:

> Questions:
> 1. I have retained the internal err(), errstr(), and state()
> methods in the DBD::XXX::db and DBD::XXX::st packages;
> should these be removed ? Are they being called by the DBI
> layer and possibly causing the issue ?

Answer is yes, remove them, (or at least alter them
to invoke the SUPER:: ?)

> 
> 2. Does the DBD still need to provide the Err, Errstr, and State
> attributes to the driver attribute hash ?
> 
> 3. In reviewing the docs, in DBI.pm, set_err() is described
> as a handle method ie, $h->set_err(). But in the DBD.pm,
> the examples use $h->DBI::set_err(). Which is correct ?

Both seemed to work, at least as far as setting the values...

> 
> 4. Does DBI internally clear the err/errstr/state info, or does
> the DBD need to properly clear these when operations
> complete successfully ?

DBI clears it.

++++++++++++++++

After resolving item (1) above, things now behave as expected,
but an answer to (2) would be nice...


Dean Arnold
Presicient Corp.
www.presicient.com

Reply via email to