The mysql adapter isn't undergoing active development -- only bug fixes. I think it is pretty safe to assume this error condition is stable. It would be much less safe for mysql2