Codebase list libexception-class-dbi-perl / 79e01fa
Fix for change to the value of `$dbh->err` as suggested by Tim Bunce. David Wheeler 16 years ago
2 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 Revision history for Perl extension Exception::Class::DBI.
11
22 0.96
3 - Fixed test failure due to the change in value of $dbh->err in DBI
4 1.601. First reported by Andreas J. König; fix suggested by Tim
5 Bunce.
36
47 0.95 2006-07-18T22:14:41
58 - Fixed test failure for localized error messages. Reported by Jens
3232 isa_ok( $err, 'Exception::Class::DBI::DBH' );
3333
3434 # Check the accessor values.
35 is( $err->err, (DBI->VERSION >= '1.601' ? '2000000000' : '1'), "Check err" );
35 is( $err->err, $DBI::stderr || 1, "Check err" );
3636 is( $err->errstr, 'Unknown field names: foo', "Check errstr" );
3737 is( $err->error, 'DBD::ExampleP::db do failed: Unknown field names: foo',
3838 "Check error" );