You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Geoffrey Young <ge...@modperlcookbook.org> on 2004/01/02 16:03:27 UTC
Re: Apache::DBI tests failing
Paul Makepeace wrote:
> Hi,
>
> Apache::DBI doesn't seem to be caching connections here causing a test
> failure. I'm using Debian/unstable, Debian's perl 5.8.2, mysql 4.0.16,
> DBD::mysql 2.9003, and CPAN's DBI 1.39. (DBI warned about perl having
> threading enabled, FWIW.)
>
> Any ideas what could be the problem?
after playing around a bit with this, it looks like the test isn't calling
Apache::DBI at all.
the attached patch adds some simple tests to make sure that the database
handles being compared actually come from Apache::DBI - they don't for me
using the latest DBI and DBD::mysql. once the BEGIN logic is changed,
though, all the tests (old and new) pass just fine.
Apache-Test would be a perfect fit for this module ;)
--Geoff