From 3ec0260542c2f66cf2668323e44fa3b55b97138b Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Fri, 11 Feb 2011 12:10:29 -0800 Subject: [PATCH] Bump up version we test for binary protocol (per advice from Dormando). --- tests/mem_functions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2