new_clone->retry_timeout= source->retry_timeout;
new_clone->distribution= source->distribution;
new_clone->hash= source->hash;
- new_clone->hash_continuum= source->hash_continuum;
+ new_clone->distribution_hash= source->distribution_hash;
new_clone->user_data= source->user_data;
new_clone->snd_timeout= source->snd_timeout;
}
rc= run_distribution(new_clone);
+
if (rc != MEMCACHED_SUCCESS)
{
memcached_free(new_clone);
return new_clone;
}
+
void *memcached_get_user_data(memcached_st *ptr)
{
return ptr->user_data;
{
void *ret= ptr->user_data;
ptr->user_data= data;
+
return ret;
}