WATCHPOINT_ASSERT(result_ptr);
ptr->poll_timeout= MEMCACHED_DEFAULT_TIMEOUT;
ptr->distribution= MEMCACHED_DISTRIBUTION_MODULA;
+ ptr->number_of_replicas= 1;
return ptr;
}
memcached_st *new_clone;
if (ptr == NULL)
- {
- new_clone= memcached_create(clone);
-
- if (ptr->on_clone)
- ptr->on_clone(NULL, new_clone);
-
- return new_clone;
- }
+ return memcached_create(clone);
if (ptr->is_allocated == MEMCACHED_USED)
{