Skip Menu |

This queue is for tickets about the Class-DBI CPAN distribution.

Report information
The Basics
Id: 5429
Status: resolved
Priority: 0/
Queue: Class-DBI

People
Owner: TMTM [...] cpan.org
Requestors: martin [...] hybyte.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.95
Fixed in: (no value)



Subject: reading obj value crashes under certain conditions
Accessing a value on an object, will retrieve the value from the db, if it isnt in memory. If an other process has deleted the row from the DB, undef will be returned. It is possible for another process to delete the row, during the retrival. In this case Class::DBI will croak, instead of returning undef. Sorry no test case, as the timing is essential. Would propably have to hack into Class DBI to delete the row at the correct time. Not sure maybe, this is in Ima::DBI
[guest - Tue Feb 24 07:41:27 2004]: am yeah: using mysql update Ima::DBI before freebsd perl 5.8.2
[guest - Tue Feb 24 07:41:27 2004]: Sorry, my fault, this issue, happens in Ima::DBI it is also not to do with deletingthe object, but with closing the connectionto the db in a 2nd process (between Ima::DBI's ping and the select) Will Report there. Please close the bug here. Thanks