• Caribe 1999's avatar
    Fix · 9611d7e0
    Caribe 1999 authored
    There's an annoying bug that prevents a Sphinx table to connect to a searchd using a host name.
    So the example table in the documentation https://mariadb.com/kb/en/library/about-sphinxse/#basic-usage that point's to "localhost" actually doesn't work.
    After some investigation I found two errors. The first one is a wrong check after the getaddrinfo call. The second is a wrong usage of the returned struct.
    9611d7e0
ha_sphinx.cc 92.1 KB