From: Brian Aker Date: Sun, 10 Jan 2010 05:51:59 +0000 (-0800) Subject: Removed cursor_server from memcached_st. X-Git-Tag: 0.37~10 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f537d3eebdb3659ad3c3b3ad70df63ea964f1e83;p=awesomized%2Flibmemcached Removed cursor_server from memcached_st. --- diff --git a/ChangeLog b/ChangeLog index facce491..357f8614 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ * Added memcached_servers_reset(). + * Modified memcached_st to remove dead cursor_server member. + 0.36 Wed Jan 6 18:23:50 PST 2010 * Merged in new memslap utility. * All of constants.h has been updated to match style (all old identifiers diff --git a/libmemcached/get.c b/libmemcached/get.c index 67670e5c..5f8bc825 100644 --- a/libmemcached/get.c +++ b/libmemcached/get.c @@ -155,7 +155,6 @@ static memcached_return_t memcached_mget_by_key_real(memcached_st *ptr, return MEMCACHED_NOT_SUPPORTED; LIBMEMCACHED_MEMCACHED_MGET_START(); - ptr->cursor_server= 0; if (number_of_keys == 0) return MEMCACHED_NOTFOUND; diff --git a/libmemcached/memcached.c b/libmemcached/memcached.c index 8e385da0..a6b38067 100644 --- a/libmemcached/memcached.c +++ b/libmemcached/memcached.c @@ -72,7 +72,6 @@ void memcached_servers_reset(memcached_st *ptr) ptr->hosts= NULL; ptr->number_of_hosts= 0; - ptr->cursor_server= 0; ptr->last_disconnected_server= NULL; ptr->server_failure_limit= 0; } diff --git a/libmemcached/memcached.h b/libmemcached/memcached.h index 4337f4fb..d67a2137 100644 --- a/libmemcached/memcached.h +++ b/libmemcached/memcached.h @@ -62,7 +62,6 @@ struct memcached_st { uint32_t io_bytes_watermark; uint32_t io_key_prefetch; uint32_t number_of_hosts; - uint32_t cursor_server; int cached_errno; struct { bool auto_eject_hosts:1;