X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fserver_container.cc;h=05997238bb2379624f048217d9d4b488639f22f1;hb=6b83fd5838692b71a50710b9bc13680f9c586167;hp=79f0ad31d0ee647a686d148fd141ba1462a4177e;hpb=23dca174eef8d846e3d4402729b57f6ded035e64;p=m6w6%2Flibmemcached diff --git a/libtest/server_container.cc b/libtest/server_container.cc index 79f0ad31..05997238 100644 --- a/libtest/server_container.cc +++ b/libtest/server_container.cc @@ -241,7 +241,7 @@ bool server_startup_st::start_server(const std::string& server_type, in_port_t t } else if (server_type.compare("memcached-sasl") == 0) { - if (MEMCACHED_SASL_BINARY) + if (MEMCACHED_BINARY) { if (HAVE_LIBMEMCACHED) { @@ -259,16 +259,6 @@ bool server_startup_st::start_server(const std::string& server_type, in_port_t t } } } - else if (server_type.compare("memcached-light") == 0) - { - if (MEMCACHED_LIGHT_BINARY) - { - if (HAVE_LIBMEMCACHED) - { - server= build_memcached_light("localhost", try_port); - } - } - } if (server == NULL) { @@ -353,24 +343,6 @@ bool server_startup_st::start_socket_server(const std::string& server_type, cons { Error << "Socket files are not supported for gearmand yet"; } - else if (server_type.compare("memcached-sasl") == 0) - { - if (MEMCACHED_SASL_BINARY) - { - if (HAVE_LIBMEMCACHED) - { - server= build_memcached_sasl_socket("localhost", try_port, username(), password()); - } - else - { - Error << "Libmemcached was not found"; - } - } - else - { - Error << "No memcached binary is available"; - } - } else if (server_type.compare("memcached") == 0) { if (MEMCACHED_BINARY)