darren chamberlain wrote:

[...]
> How about not using cached handles:
>
>   [% USE DBI(dsn = 'dbi:blah:blah:blah'
>              dbi_connect_method = 'connect') %]
[...]

That in itself did not work, but gave me the clue I needed:

I hacked \site\lib\template\plugin\dbi.pm and changed 'connect_cached' to
'connect' in line 146, then commented out lines 134 and 135 (which return
the same handle if the connection string is the same as before), and voila -
it works!

Thanks for the help, everyone.

-- Gunther



_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to