.no_block= false,
.no_reply= false,
.randomize_replica_read= false,
- .reuse_memory= false,
.support_cas= false,
.tcp_nodelay= false,
.use_sort_hosts= false,
static void _free(memcached_st *ptr, bool release_st)
{
/* If we have anything open, lets close it now */
- memcached_quit(ptr);
+ send_quit(ptr);
memcached_server_list_free(memcached_server_list(ptr));
memcached_result_free(&ptr->result);
return MEMCACHED_INVALID_ARGUMENTS;
bool stored_is_allocated= memcached_is_allocated(ptr);
+ uint64_t query_id= ptr->query_id;
_free(ptr, false);
memcached_create(ptr);
memcached_set_allocated(ptr, stored_is_allocated);
+ ptr->query_id= query_id;
if (ptr->configure.filename)
{