From: Brian Aker Date: Fri, 11 Feb 2011 20:10:29 +0000 (-0800) Subject: Bump up version we test for binary protocol (per advice from Dormando). X-Git-Tag: 0.51~44^2~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=3ec0260542c2f66cf2668323e44fa3b55b97138b;p=awesomized%2Flibmemcached Bump up version we test for binary protocol (per advice from Dormando). --- diff --git a/tests/mem_functions.c b/tests/mem_functions.c index 3524999a..fa4c36c6 100644 --- a/tests/mem_functions.c +++ b/tests/mem_functions.c @@ -3622,7 +3622,7 @@ static test_return_t pre_nonblock_binary(memcached_st *memc) // will not toggle protocol on an connection. memcached_version(memc_clone); - if (libmemcached_util_version_check(memc_clone, 1, 3, 0)) + if (libmemcached_util_version_check(memc_clone, 1, 4, 4)) { memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_NO_BLOCK, 0); rc = memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, 1); @@ -3748,7 +3748,7 @@ static test_return_t pre_binary(memcached_st *memc) { memcached_return_t rc= MEMCACHED_FAILURE; - if (libmemcached_util_version_check(memc, 1, 3, 0)) + if (libmemcached_util_version_check(memc, 1, 4, 4)) { rc = memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, 1); test_true(rc == MEMCACHED_SUCCESS);