Hello Brian
Good call! Checking for DBD::mysql should solve the problem.
But to make sure, can I ask you to rerun the test with your
eval() that you added this morning? But instead of
eval "require DBI::mysql", could you change it to eval "require
DBD::mysql"
(because DBI drivers are under DBD::*, not DBI)?
Thanks Brian.
--
Sherzod B. Ruzmetov
> I think it's because the only eval in t/mysql.t checks only for DBI, not DBI::mysql.
> This is the eval you have:
> eval "require DBI";
> if ( $@ ) {
> print "skip\n";
> exit(0);
> }
>
> Adding a similar one, looking specifically for the MySQL driver seems to get the
>results you're looking for:
> eval "require DBI::mysql";
> if ( $@ ) {
> print "skip\n";
> exit(0);
> }
>
> Running 'make test' with that new eval inserted at line 20 in t/mysql.t gives these
>results:
>
> t/db_file...........ok
> t/file..............ok
> t/mysql.............skipped test on this platform
> All tests successful, 1 test skipped.
>
> Please let me know if there's more I can do - I'm happy to help.
> I'll check back around 9PM [-5:EDT] tonight.
>
> -- Brian.
>
>
>