I read that DBD::MySQL has an internal auto-reconnect mechanism. Maybe DBIC doesn't know anything about the reconnect?

It can be true - I tried to catch calls to dbh(), connected() in Storage/DBI.pm but there is no step in after mysql restart.

I use this feature to set names names for connection, it is fast query and I can do it with every request, but it is just workaround.

Maybe it need some checking with connection id or smth like this?

--
[EMAIL PROTECTED]  http://www.hurra-communications.com/
$ o m e    t e a m  .  d e v e l o p e r
Hurra Communications, Krakow/Stuttgart/London/Paris/Madrid

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to