[Dbix-class] Undetermined driver warning

Ben Tilly btilly at gmail.com
Thu Dec 6 15:08:58 GMT 2012


I would suspect that nobody uses DBD::Mock because DBD::SQLite with an
in memory database is easier.

On Thu, Dec 6, 2012 at 12:52 AM, Peter Rabbitson <rabbit+dbic at rabbit.us> wrote:
> 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
>
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk



More information about the DBIx-Class mailing list