Hi,

the DBI-1.43 changelog states:

    Changed getting or setting an invalid attribute to no longer be
        a fatal error but generate a warning instead.

while in DBI.pm pod still remains:

  Attempting to set or get the value of an unknown attribute is fatal,
  except for private driver specific attributes (which all have names
  starting with a lowercase letter).

But the worst is that this change breaks the tests for DBD::Oracle:

> make test
PERL_DL_NONLAZY=1 /home/vadim/tmp/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base.......ok
t/cursor.....ok
t/general....ok 2/24Can't get DBI::st=HASH(0x813b820)->{NUM_OFFIELDS_typo}: 
unrecognised attribute at t/general.t line 41.
t/general....FAILED test 5
        Failed 1/24 tests, 95.83% okay
t/long.......ok
t/meta.......ok
t/ph_type....ok
t/plsql......ok
t/reauth.....skipped
        all skipped: no reason given
t/select.....ok
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/general.t               24    1   4.17%  5
1 test skipped.
Failed 1/9 test scripts, 88.89% okay. 1/545 subtests failed, 99.82% okay.
make: *** [test_dynamic] Error 255

I used DBD::Oracle version 1.15

Vadim.

Reply via email to