[Dbix-class] Class::Storage::DBI, connect_info/on_connect_do

Adam Bartosik adam.bartosik at hurra.com
Wed Jun 20 12:24:21 GMT 2007


It looks like connect_info/on_connect_do statements are not executed 
after reconnecting to database. At least with mysql.

All DBI/dbd/dbix modules are up to date.

How to repeat:
- enable mysql query log
- add smth to on_connect_do
- connect to db (i found this issue using dbix with catalyst)
- restart mysql
- re-run code with dbix

No on_connect statements are executed after reconnect.

Do you have the same?

-- 
Adam.Bartosik at hurra.com  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



More information about the Dbix-class mailing list