ID:1823614
 
BYOND Version:507
Operating System:Linux
Web Browser:Chrome 42.0.2311.68
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
The _isconnected function of dbcon returns true on stale connections (disconnected, but no tcp_reset event broadcasted to the client because it doesn't know its disconnected), even after a query fails with the error message "the mysql server has gone away"

The fact it does it even after a query fails is the main thing that bugs me.
The code governing this is pretty old and is one of the spots I'm less familiar with. As a workaround for now, I would suggest that if you do have a query fail, look at the error message and reconnect + retry it if it's a "gone away" message.
And in my case, sqls aren't done that often, but the world never stops or has to restart, i just close the connection and re-open it on every query.