"Phil R Lawrence" <[EMAIL PROTECTED]> wrote:
> Our upgrade to DBI 1.15 (from 1.13) seems to have broken something
> with regards to subclassing the DBI. My reports used to work fine,
> but now produce the following error:
>
> Uncaught exception from user code:
> DBI->disconnect is not a DBI method...
Here is the trace file from invocation of use_STORIT.pl:
----------------------------------------------------------------------
-------------------------------
DBI 1.15-nothread dispatch trace level set to 1
-> STORIT->connect(dbi:Oracle:bnco.world, prl2, ****,
HASH(0x20174aa0))
-> STORIT->install_driver(Oracle) for perl=5.00503 <snip>
install_driver: DBD::Oracle loaded (version 1.03)
<- install_driver= DBI::dr=HASH(0x2019e908)
2 <- debug= 1 at Oracle.pm line 89.
Loading <snip>oratab
<snip>
Loading <snip>tnsnames.ora
<snip>
<- connect= DBI::db=HASH(0x201f435c) at DBI.pm line 412.
<- STORE('RootClass' 'STORIT' ...)= 1 at DBI.pm line 425.
<- STORE('PrintError' 0 ...)= 1 at DBI.pm line 437.
<- STORE('AutoCommit' 1 ...)= 1 at DBI.pm line 437.
<- connect= STORIT::db=HASH(0x201f435c)
<- STORE('PrintError' 1 ...)= 1 at SUBCLASS_DBI.pm line 27.
<- STORE('RaiseError' 1 ...)= 1 at use_STORIT.pl line 10.
<- prepare('SELECT 'blah' FROM dual' CODE)=
STORIT::st=HASH(0x2009df14) at use_STORIT.pl line 12.
<- execute(CODE)= 1 at use_STORIT.pl line 13.
<- fetchrow_array= 'blah' at use_STORIT.pl line 14.
<- finish= 1 at use_STORIT.pl line 15.
<- FETCH= undef at STORIT.pm line 23.
<- STORE('private_STORIT_info' HASH(0x2009e1d8) ...)= 1 at
STORIT.pm line 23.
<- FETCH= HASH(0x2009e1d8)1keys ('private_STORIT_info' from cache)
at STORIT.pm line 29.
<- DESTROY= undef.
<- DESTROY= undef.
<- disconnect_all= '' at DBI.pm line 454.
<- DESTROY= undef during global destruction.
----------------------------------------------------------------------
-------------------------------