[Catalyst] Template::Provider::DBI and Catalyst

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Wed Feb 21 12:56:23 GMT 2007


Jess Robinson wrote:
> On Tue, 13 Feb 2007, Tobias Kremer wrote:
>> There's also an error message on every request:
>>
>> "prepare_cached(SELECT date_modified FROM templates
>> WHERE filename = ?) statement handle DBI::st=HASH(0x91eac08) still
>> Active"
> 
> Odd.. since it should only fetch one row at a time, there should be no
> need to call finish. But if that helps, send a patch ;)
> 
>> I assume this is because there is no $sth->finish() statement:
>> http://search.cpan.org/~timb/DBI-1.53/DBI.pm#prepare_cached

Tobias, are you using mysql? If so, what version of DBD::mysql are you
using? Could this issue be related to:

http://rt.cpan.org/Public/Bug/Display.html?id=20464
http://rt.cpan.org/Public/Bug/Display.html?id=20009

Cheers, Dave



More information about the Catalyst mailing list