[Dbix-class] Undetermined driver warning

Peter Rabbitson rabbit+dbic at rabbit.us
Thu Dec 6 08:52:36 GMT 2012


On Sun, Dec 02, 2012 at 06:20:47AM +1300, Dan Horne wrote:
> Hi
> 
> After returning to some old code that worked fine, I find that the latest
> version of DBIx::Class raises the following warning when my code's tests
> are run:
> 
> "This version of DBIC does not yet seem to supply a driver for your
> particular RDBMS and/or connection method"
> 
> This is because the tests in question use DBD::Mock, which is fine for what
> I am testing. Is there anyway to turn this warning off? Was the warnings
> introduction a widely requested feature? I would have expected that using
> DBD::Mock would not have been uncommon....

Sorry for the late reply. Yes - believe it or not you are the first user 
of DBD::Mock I've come across, hence I would assume not very common at 
all. Could you please share one of your test files with us - I want to 
see what is the extent of communication between the DBD and DBIC, to 
decide if a ::Storage::DBI::Mockis awrranted, or just preempting the 
warning is enough. Parallel to this I am also considering to add an 
envvar to disable said warning for cases like yours.

In any case - I would like to see one of your tests first please.

Cheers




More information about the DBIx-Class mailing list