This project is archived and is in readonly mode.
MySQL reconnect value doesn't stick
-
Repository
- State changed from new to committed
(from [e5c211c5eb6e8f1651130b7aa0a5291e5d184ab4]) Mysql#reconnect is set according to the 'reconnect' key in the connection spec.
The 'reconenct' boolean option is read from the connection specification and is used to set the reconnect attribute of Mysql. The default is false in order not to change existing application behaviour.
Also, reconnect is set AFTER real_connect is called, so its value sticks (the mysql gem sets reconnect to false inside real_connect).
Signed-off-by: Michael Koziarski michael@koziarski.com [#1797 MySQL reconnect value doesn't stick state:committed] http://github.com/rails/rails/co...
-
Repository
(from [5fe6635e05a18b312c47fe6bbbaf88fd62e7703d]) Mysql#reconnect is set according to the 'reconnect' key in the connection spec.
The 'reconenct' boolean option is read from the connection specification and is used to set the reconnect attribute of Mysql. The default is false in order not to change existing application behaviour.
Also, reconnect is set AFTER real_connect is called, so its value sticks (the mysql gem sets reconnect to false inside real_connect).
Signed-off-by: Michael Koziarski michael@koziarski.com [#1797 MySQL reconnect value doesn't stick state:committed] http://github.com/rails/rails/co...
