<div class="gmail_quote">On 26 July 2011 18:10, Michael T. Dean <span dir="ltr"><<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">
</div>Warpme, out of curiosity, what happens if you revert<br>
<a href="https://github.com/MythTV/mythtv/commit/528324d8" target="_blank">https://github.com/MythTV/mythtv/commit/528324d8</a><br></blockquote></div><br>Interesting... is there a reason that custom reconnect code was written? I think that the MySQL client lib has an auto-reconnect option that can be set when initially creating the DB connection. We successfully use this at work (it works seamlessly for us), although this is from Perl code using DBI rather than C++ with Qt. I see a comment in mythdbcon.cpp about reconnect behaviour from 2003, but that could be out of date.<br>
<br>I also found this which looks very relevant:<br><a href="https://bugreports.qt.nokia.com//browse/QTBUG-17140">https://bugreports.qt.nokia.com//browse/QTBUG-17140</a><br><br>David<br><br>