case PROTOCOL_BINARY_CMD_DELETE:
case PROTOCOL_BINARY_CMD_TOUCH:
{
- WATCHPOINT_ASSERT(bodylen == 0);
+ if (bodylen != 0)
+ {
+ char touch_buffer[32]; // @todo document this number
+ rc= memcached_safe_read(instance, buffer, sizeof(touch_buffer));
+ }
return MEMCACHED_SUCCESS;
}
test_compare(MEMCACHED_SUCCESS,
memcached_touch(memc, test_literal_param(__func__), 60 *60));
- test_skip(false ,memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL));
-
rc= memcached_touch(memc, test_literal_param(__func__), 60 *60 *24 *60);
test_compare(MEMCACHED_SUCCESS, rc);
test_literal_param(__func__),
60 *60));
- test_skip(false ,memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL));
test_compare(MEMCACHED_SUCCESS,
memcached_touch_by_key(memc,
test_literal_param("grouping_key"),