Skip Menu |

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

Report information
The Basics
Id: 7057
Status: resolved
Priority: 0/
Queue: DBD-Mock

People
Owner: Nobody in particular
Requestors: rob.kinyon [...] progressive-medical.com
Cc:
AdminCc:

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



Subject: DBD::Mock needs to require DBI 1.34
When installing DBD::Mock v0.10 on RH 9 using Perl 5.8.0-threaded (vendor-build) against DBI v1.32, I encountered the fact that all the tests failed. DBI was complaining that the disconnect_all() method was not implemented. A little looking found that the method was required to be implemented in the DBD::Mock::dr class. The DBI Changes file indicates that this is no longer the case as of DBI v1.34. I would suggest doing either of the two fixes: 1) Add "sub disconnect_all {}" on line 68 2) Require that DBI be at least version 1.34 I would recommend solution #1, but solution #2 would probably be just fine.
This is implemented and as far as I know fixed. The change will be in DBD::Mock 0.11 -- I just added a 'disconnect_all()' no-op as you suggested. Thanks for the report!