memcached_string_st *value,
uint16_t *flags,
uint64_t *cas,
- char load_key,
unsigned int server_key)
{
memcached_return rc;
string_ptr+= 6; /* "VALUE " */
/* We load the key */
- if (load_key)
+ if (key)
{
*key_length= 0;
if (*error != MEMCACHED_SUCCESS)
goto error;
- *error= memcached_value_fetch(ptr, key, &key_length, result_buffer,
- flags, NULL, 0, server_key);
+ *error= memcached_value_fetch(ptr, NULL, NULL, result_buffer,
+ flags, NULL, server_key);
*value_length= memcached_string_length(result_buffer);
if (*error == MEMCACHED_END && *value_length == 0)
{
}
*error = memcached_value_fetch(ptr, key, key_length, result_buffer,
- flags, NULL, 1, ptr->cursor_server);
+ flags, NULL, ptr->cursor_server);
*value_length= memcached_string_length(result_buffer);
if (*error == MEMCACHED_NOTFOUND)
&result->value,
&result->flags,
&result->cas,
- 1, ptr->cursor_server);
+ ptr->cursor_server);
if (*error == MEMCACHED_NOTFOUND)
{