Skip Menu |

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

Report information
The Basics
Id: 54689
Status: new
Priority: 0/

Owner: Nobody in particular
Requestors: DAMI [...]

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

Subject: panic when reading return value from rollback()
Download (untitled) / with headers
text/plain 422b
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".

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to