Skip to content

Commit 8d563c3

Browse files
committed
Actually needs to be 1.0.16
1 parent a88355b commit 8d563c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

php_memcached.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,9 +1392,9 @@ static void php_memc_store_impl(INTERNAL_FUNCTION_PARAMETERS, int op, zend_bool
13921392
}
13931393

13941394
if (op == MEMC_OP_TOUCH) {
1395-
#if defined(LIBMEMCACHED_VERSION_HEX) && LIBMEMCACHED_VERSION_HEX < 0x01000015
1395+
#if defined(LIBMEMCACHED_VERSION_HEX) && LIBMEMCACHED_VERSION_HEX < 0x01000016
13961396
if (memcached_behavior_get(m_obj->memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL)) {
1397-
php_error_docref(NULL TSRMLS_CC, E_WARNING, "using touch command with binary protocol is not recommended with libmemcached versions below 1.0.15");
1397+
php_error_docref(NULL TSRMLS_CC, E_WARNING, "using touch command with binary protocol is not recommended with libmemcached versions below 1.0.16");
13981398
}
13991399
#endif
14001400
} else {

tests/touch_binary.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Touch in binary mode
33
--SKIPIF--
44
<?php if (!extension_loaded("memcached")) print "skip";
5-
if (Memcached::LIBMEMCACHED_VERSION_HEX < 0x01000015) die ('skip too old libmemcached');
5+
if (Memcached::LIBMEMCACHED_VERSION_HEX < 0x01000016) die ('skip too old libmemcached');
66
?>
77
--FILE--
88
<?php

0 commit comments

Comments
 (0)