Skip Menu |

This queue is for tickets about the DBD-JDBC CPAN distribution.

Report information
The Basics
Id: 54689
Status: new
Priority: 0/
Queue: DBD-JDBC

People
Owner: Nobody in particular
Requestors: DAMI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.71
Fixed in: (no value)



Subject: panic when reading return value from rollback()
According to L<DBI::DBD/"The dbd_db_commit and dbd_db_rollback methods">, the rollback method should return TRUE or FALSE. However in DBD::JDBC it returns nothing, or even worse, generates a panic error message : $dbh->begin_work; eval { $dbh->do('STUPID FAKE SQL'); $dbh->commit; 1; } or do { my $result = eval {$dbh->rollback}; print STDERR $result; }; generates "panic: attempt to copy freed scalar".