Yeah, rails applications will do this transparently. We don't want
to have a solution that only works with mysql when the current one
works for all our supported databases.
--
Cheers
Koz
I'll try to find out more information from those guys if I can find
their cards...
--Jeremy
--
http://jeremymcanally.com/
http://entp.com
Read my books:
Ruby in Practice (http://manning.com/mcanally/)
My free Ruby e-book (http://humblelittlerubybook.com/)
Or, my blogs:
http://mrneighborly.com
http://rubyinpractice.com
--
Cheers!
- Pratik
http://m.onkey.org
Having said that, there's no reason why the adapter *couldn't* support
a reconnect option, if it's in the mysql client lib. I'd be happy to
take patches for it.
However I certainly wouldn't want to roll our own reconnect-on-error
thing, retrying sql statements is a great way to lose friends and
invalidate data.
--
Cheers
Koz