pat / thinking-sphinx

Sphinx/Manticore plugin for ActiveRecord/Rails
http://freelancing-gods.com/thinking-sphinx
MIT License
1.63k stars 470 forks source link

Fix SLE-11 MySQL error handling #1066

Closed mschnitzer closed 7 years ago

mschnitzer commented 7 years ago

In SUSE's SLE-11 MySQL package, it can happen that the MySQL server responds with "Lost connection to MySQL server". This should be handled in the code.

We're currently patching this manually during package building: https://build.opensuse.org/package/view_file/devel:languages:ruby:extensions/rubygem-thinking-sphinx/SLE-11-mysql-error.patch?expand=1

It would be nice to get this in your code base, so we do not need this patch anymore to support SLES-11 (SUSE Linux Enterprise Server 11)

mschnitzer commented 7 years ago

@pat the Travis build has failed. It seems to be unrelated to the changes.

pat commented 7 years ago

Yeah, build failure's definitely not your fault - was related to my Travis CI configuration. I think that's now fixed, but I'll merge your patch in now anyway :) Thanks!