[Dbix-class] Storage::DBI::ODBC cause DBI->connect() to be called twice

Marc Mims marc at questright.com
Tue Aug 12 18:43:42 BST 2008


* Oystein.Torget at dnv.com <Oystein.Torget at dnv.com> [080811 08:40]:
> It seems that the Storage::DBI::ODBC module causes DBI->connect() to
> be called twice when you connect to the database.
>  
> I have posted this as a possible bug in CPAN RT. The bug report with
> more information can be found here:
> http://rt.cpan.org/Public/Bug/Display.html?id=38186
>  
> The bug *seems* to be easy to fix, but feedback from others using the
> Storage::DBI::ODBC module would be useful.

I applied your suggested fix (using _dbh instead of dbh).
http://dev.catalyst.perl.org/svnweb/bast/revision?rev=4750

Please retest using trunk and let me know if you find any problems.

	-Marc



More information about the DBIx-Class mailing list