Bug#643697: libdbd-mock-perl: mock sessions no longer return results

Frédéric Brière fbriere at fbriere.net
Sun Jan 29 17:00:31 UTC 2012


On Wed, Sep 28, 2011 at 02:44:56PM -0400, Frédéric Brière wrote:
> When run under 1.39, the results of a session are returned as requested:
> 
> But undef 1.41, nothing is returned:

Turns out this is specific to fetchrow_hashref(), due to DBD::Mock no
longer setting column names properly.  Fetching via _array() or
arrayref() should probably still work fine (hence why the test suite
never caught this).

I've forwarded this bug to CPAN, as it was introduced by a fix to
another bug, and thus cannot be easily reverted without some intimate
knowledge of DBI and DBD::Mock.


-- 
<dark> eat Depends: cook | eat-out.
       But eat-out is non-free so that's out.
       And cook Recommends: clean-pans.
		-- Seen on #Debian





More information about the pkg-perl-maintainers mailing list