From: Brian Aker Date: Fri, 3 Jun 2011 01:52:19 +0000 (-0700) Subject: Add in fix to flush and not always add new servers while testing. X-Git-Tag: 0.51~6^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=4d82f8155a803e987352e9d6758df4d0449ecf5a;hp=f708d7aa71806f984e5536373ad9d2fd4f64626e;p=awesomized%2Flibmemcached Add in fix to flush and not always add new servers while testing. --- diff --git a/ChangeLog b/ChangeLog index afbfce1a..388721a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,8 +7,9 @@ * New error system. * New flow control for messages means faster get/set calls. * Added new documentation system. + * A behavior change has been now made that if you specify a weight for any + server, we enable the weight flag and do weight balancing. * A behavior change has been now made that if you specify a weight for any server, we enable the weight flag and do weight balancing. - * Added MEMCACHED_BEHAVIOR_REMOVE_FAILED_SERVERS to simplify the setting of AUTO REJECT for servers. 0.48 Tue Mar 15 23:05:18 PDT 2011 diff --git a/docs/man/hashkit_clone.3 b/docs/man/hashkit_clone.3 index d0653151..b66ecb74 100644 --- a/docs/man/hashkit_clone.3 +++ b/docs/man/hashkit_clone.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_CLONE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_CLONE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_clone \- libhashkit Documentation . diff --git a/docs/man/hashkit_crc32.3 b/docs/man/hashkit_crc32.3 index e024608d..69b89f72 100644 --- a/docs/man/hashkit_crc32.3 +++ b/docs/man/hashkit_crc32.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_CRC32" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_CRC32" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_crc32 \- libhashkit Documentation . diff --git a/docs/man/hashkit_create.3 b/docs/man/hashkit_create.3 index ed937ca9..3a6436e6 100644 --- a/docs/man/hashkit_create.3 +++ b/docs/man/hashkit_create.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_CREATE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_CREATE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_create \- libhashkit Documentation . diff --git a/docs/man/hashkit_fnv1_32.3 b/docs/man/hashkit_fnv1_32.3 index d00ebbed..d725cd02 100644 --- a/docs/man/hashkit_fnv1_32.3 +++ b/docs/man/hashkit_fnv1_32.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_FNV1_32" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_FNV1_32" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_fnv1_32 \- libhashkit Documentation . diff --git a/docs/man/hashkit_fnv1_64.3 b/docs/man/hashkit_fnv1_64.3 index c3e7fa2e..93775164 100644 --- a/docs/man/hashkit_fnv1_64.3 +++ b/docs/man/hashkit_fnv1_64.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_FNV1_64" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_FNV1_64" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_fnv1_64 \- libhashkit Documentation . diff --git a/docs/man/hashkit_fnv1a_32.3 b/docs/man/hashkit_fnv1a_32.3 index 2f2bec68..88a90cfe 100644 --- a/docs/man/hashkit_fnv1a_32.3 +++ b/docs/man/hashkit_fnv1a_32.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_FNV1A_32" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_FNV1A_32" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_fnv1a_32 \- libhashkit Documentation . diff --git a/docs/man/hashkit_fnv1a_64.3 b/docs/man/hashkit_fnv1a_64.3 index a855d7e4..95f693fb 100644 --- a/docs/man/hashkit_fnv1a_64.3 +++ b/docs/man/hashkit_fnv1a_64.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_FNV1A_64" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_FNV1A_64" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_fnv1a_64 \- libhashkit Documentation . diff --git a/docs/man/hashkit_free.3 b/docs/man/hashkit_free.3 index 8bfb0a28..3fe92cb5 100644 --- a/docs/man/hashkit_free.3 +++ b/docs/man/hashkit_free.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_FREE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_FREE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_free \- libhashkit Documentation . diff --git a/docs/man/hashkit_functions.3 b/docs/man/hashkit_functions.3 index a71111c2..6ef50638 100644 --- a/docs/man/hashkit_functions.3 +++ b/docs/man/hashkit_functions.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_FUNCTIONS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_FUNCTIONS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_functions \- libhashkit Documentation . diff --git a/docs/man/hashkit_hsieh.3 b/docs/man/hashkit_hsieh.3 index 36d54d5e..7873a98d 100644 --- a/docs/man/hashkit_hsieh.3 +++ b/docs/man/hashkit_hsieh.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_HSIEH" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_HSIEH" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_hsieh \- libhashkit Documentation . diff --git a/docs/man/hashkit_is_allocated.3 b/docs/man/hashkit_is_allocated.3 index 8aea2f7d..e26d3544 100644 --- a/docs/man/hashkit_is_allocated.3 +++ b/docs/man/hashkit_is_allocated.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_IS_ALLOCATED" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_IS_ALLOCATED" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_is_allocated \- libhashkit Documentation . diff --git a/docs/man/hashkit_jenkins.3 b/docs/man/hashkit_jenkins.3 index 22b60c07..5f81a29d 100644 --- a/docs/man/hashkit_jenkins.3 +++ b/docs/man/hashkit_jenkins.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_JENKINS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_JENKINS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_jenkins \- libhashkit Documentation . diff --git a/docs/man/hashkit_md5.3 b/docs/man/hashkit_md5.3 index a0bc92ad..c87f1fc6 100644 --- a/docs/man/hashkit_md5.3 +++ b/docs/man/hashkit_md5.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_MD5" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_MD5" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_md5 \- libhashkit Documentation . diff --git a/docs/man/hashkit_murmur.3 b/docs/man/hashkit_murmur.3 index 37d55543..2fb5ab79 100644 --- a/docs/man/hashkit_murmur.3 +++ b/docs/man/hashkit_murmur.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_MURMUR" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_MURMUR" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_murmur \- libhashkit Documentation . diff --git a/docs/man/hashkit_value.3 b/docs/man/hashkit_value.3 index a38cadf0..33229358 100644 --- a/docs/man/hashkit_value.3 +++ b/docs/man/hashkit_value.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_VALUE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "HASHKIT_VALUE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME hashkit_value \- libhashkit Documentation . diff --git a/docs/man/libhashkit.3 b/docs/man/libhashkit.3 index 25648143..434e4a5a 100644 --- a/docs/man/libhashkit.3 +++ b/docs/man/libhashkit.3 @@ -1,4 +1,4 @@ -.TH "LIBHASHKIT" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "LIBHASHKIT" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME libhashkit \- libhashkit Documentation . diff --git a/docs/man/libmemcached.3 b/docs/man/libmemcached.3 index 57326071..cc5d0f18 100644 --- a/docs/man/libmemcached.3 +++ b/docs/man/libmemcached.3 @@ -1,4 +1,4 @@ -.TH "LIBMEMCACHED" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "LIBMEMCACHED" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME libmemcached \- Introducing the C Client Library for memcached . diff --git a/docs/man/libmemcached_check_configuration.3 b/docs/man/libmemcached_check_configuration.3 index 5acb2957..0cd7bfdd 100644 --- a/docs/man/libmemcached_check_configuration.3 +++ b/docs/man/libmemcached_check_configuration.3 @@ -1,4 +1,4 @@ -.TH "LIBMEMCACHED_CHECK_CONFIGURATION" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "LIBMEMCACHED_CHECK_CONFIGURATION" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME libmemcached_check_configuration \- libmemcached Documentation . diff --git a/docs/man/libmemcached_configuration.3 b/docs/man/libmemcached_configuration.3 index d33c179f..8c9104a3 100644 --- a/docs/man/libmemcached_configuration.3 +++ b/docs/man/libmemcached_configuration.3 @@ -1,4 +1,4 @@ -.TH "LIBMEMCACHED_CONFIGURATION" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "LIBMEMCACHED_CONFIGURATION" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME libmemcached_configuration \- libmemcached Documentation . diff --git a/docs/man/libmemcached_examples.3 b/docs/man/libmemcached_examples.3 index 45c3da36..02659dfb 100644 --- a/docs/man/libmemcached_examples.3 +++ b/docs/man/libmemcached_examples.3 @@ -1,4 +1,4 @@ -.TH "LIBMEMCACHED_EXAMPLES" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "LIBMEMCACHED_EXAMPLES" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME libmemcached_examples \- libmemcached Documentation . diff --git a/docs/man/libmemcachedutil.3 b/docs/man/libmemcachedutil.3 index f6960ae8..ea5dc494 100644 --- a/docs/man/libmemcachedutil.3 +++ b/docs/man/libmemcachedutil.3 @@ -1,4 +1,4 @@ -.TH "LIBMEMCACHEDUTIL" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "LIBMEMCACHEDUTIL" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME libmemcachedutil \- libmemcached Documentation . diff --git a/docs/man/memaslap.1 b/docs/man/memaslap.1 index 24367317..16c63ec3 100644 --- a/docs/man/memaslap.1 +++ b/docs/man/memaslap.1 @@ -1,4 +1,4 @@ -.TH "MEMASLAP" "1" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMASLAP" "1" "June 02, 2011" "0.47" "libmemcached" .SH NAME memaslap \- libmemcached Documentation . diff --git a/docs/man/memcached.3 b/docs/man/memcached.3 index 8afca7c5..55fff39f 100644 --- a/docs/man/memcached.3 +++ b/docs/man/memcached.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached \- libmemcached Documentation . diff --git a/docs/man/memcached_add.3 b/docs/man/memcached_add.3 index e29bd2a4..cfd4c5ab 100644 --- a/docs/man/memcached_add.3 +++ b/docs/man/memcached_add.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_ADD" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_ADD" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_add \- Storing and Replacing Data . diff --git a/docs/man/memcached_add_by_key.3 b/docs/man/memcached_add_by_key.3 index 9686ad3d..fcf25235 100644 --- a/docs/man/memcached_add_by_key.3 +++ b/docs/man/memcached_add_by_key.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_ADD_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_ADD_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_add_by_key \- Storing and Replacing Data . diff --git a/docs/man/memcached_analyze.3 b/docs/man/memcached_analyze.3 index 2917b6e9..85646ecb 100644 --- a/docs/man/memcached_analyze.3 +++ b/docs/man/memcached_analyze.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_ANALYZE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_ANALYZE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_analyze \- libmemcached Documentation . diff --git a/docs/man/memcached_append.3 b/docs/man/memcached_append.3 index d41ef688..d2352dbe 100644 --- a/docs/man/memcached_append.3 +++ b/docs/man/memcached_append.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_APPEND" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_APPEND" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_append \- Appending to or Prepending to data on the server . diff --git a/docs/man/memcached_append_by_key.3 b/docs/man/memcached_append_by_key.3 index 006656f5..deb9e7bf 100644 --- a/docs/man/memcached_append_by_key.3 +++ b/docs/man/memcached_append_by_key.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_APPEND_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_APPEND_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_append_by_key \- Appending to or Prepending to data on the server . diff --git a/docs/man/memcached_auto.3 b/docs/man/memcached_auto.3 index 44f2b2d4..3346948d 100644 --- a/docs/man/memcached_auto.3 +++ b/docs/man/memcached_auto.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_AUTO" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_AUTO" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_auto \- Incrementing and Decrementing Values . diff --git a/docs/man/memcached_behavior.3 b/docs/man/memcached_behavior.3 index a710f77a..698b6577 100644 --- a/docs/man/memcached_behavior.3 +++ b/docs/man/memcached_behavior.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_BEHAVIOR" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_BEHAVIOR" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_behavior \- libmemcached Documentation . diff --git a/docs/man/memcached_behavior_get.3 b/docs/man/memcached_behavior_get.3 index 722acfba..5ef4f76f 100644 --- a/docs/man/memcached_behavior_get.3 +++ b/docs/man/memcached_behavior_get.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_BEHAVIOR_GET" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_BEHAVIOR_GET" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_behavior_get \- libmemcached Documentation . diff --git a/docs/man/memcached_behavior_set.3 b/docs/man/memcached_behavior_set.3 index 0aa111c6..c12b807e 100644 --- a/docs/man/memcached_behavior_set.3 +++ b/docs/man/memcached_behavior_set.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_BEHAVIOR_SET" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_BEHAVIOR_SET" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_behavior_set \- libmemcached Documentation . diff --git a/docs/man/memcached_callback.3 b/docs/man/memcached_callback.3 index 84338384..091984b9 100644 --- a/docs/man/memcached_callback.3 +++ b/docs/man/memcached_callback.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_CALLBACK" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_CALLBACK" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_callback \- libmemcached Documentation . diff --git a/docs/man/memcached_callback_get.3 b/docs/man/memcached_callback_get.3 index e9285735..9aedfd5e 100644 --- a/docs/man/memcached_callback_get.3 +++ b/docs/man/memcached_callback_get.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_CALLBACK_GET" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_CALLBACK_GET" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_callback_get \- libmemcached Documentation . diff --git a/docs/man/memcached_callback_set.3 b/docs/man/memcached_callback_set.3 index ea211984..8505c778 100644 --- a/docs/man/memcached_callback_set.3 +++ b/docs/man/memcached_callback_set.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_CALLBACK_SET" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_CALLBACK_SET" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_callback_set \- libmemcached Documentation . diff --git a/docs/man/memcached_cas.3 b/docs/man/memcached_cas.3 index 5e81881c..1d2b2611 100644 --- a/docs/man/memcached_cas.3 +++ b/docs/man/memcached_cas.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_CAS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_CAS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_cas \- Working with data on the server in an atomic fashion . diff --git a/docs/man/memcached_cas_by_key.3 b/docs/man/memcached_cas_by_key.3 index bd0bfb2c..7a6ef911 100644 --- a/docs/man/memcached_cas_by_key.3 +++ b/docs/man/memcached_cas_by_key.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_CAS_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_CAS_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_cas_by_key \- Storing and Replacing Data . diff --git a/docs/man/memcached_clone.3 b/docs/man/memcached_clone.3 index 4da24c67..04283100 100644 --- a/docs/man/memcached_clone.3 +++ b/docs/man/memcached_clone.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_CLONE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_CLONE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_clone \- libmemcached Documentation . diff --git a/docs/man/memcached_create.3 b/docs/man/memcached_create.3 index 266d8c0e..5e807dec 100644 --- a/docs/man/memcached_create.3 +++ b/docs/man/memcached_create.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_CREATE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_CREATE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_create \- libmemcached Documentation . diff --git a/docs/man/memcached_decrement.3 b/docs/man/memcached_decrement.3 index ac5855c9..9a86fe09 100644 --- a/docs/man/memcached_decrement.3 +++ b/docs/man/memcached_decrement.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_DECREMENT" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_DECREMENT" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_decrement \- Incrementing and Decrementing Values . diff --git a/docs/man/memcached_decrement_with_initial.3 b/docs/man/memcached_decrement_with_initial.3 index df7409aa..888988f2 100644 --- a/docs/man/memcached_decrement_with_initial.3 +++ b/docs/man/memcached_decrement_with_initial.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_DECREMENT_WITH_INITIAL" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_DECREMENT_WITH_INITIAL" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_decrement_with_initial \- Incrementing and Decrementing Values . diff --git a/docs/man/memcached_delete.3 b/docs/man/memcached_delete.3 index d9bdaf89..9c88f1e8 100644 --- a/docs/man/memcached_delete.3 +++ b/docs/man/memcached_delete.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_DELETE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_DELETE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_delete \- libmemcached Documentation . diff --git a/docs/man/memcached_delete_by_key.3 b/docs/man/memcached_delete_by_key.3 index afe0239d..de365dcf 100644 --- a/docs/man/memcached_delete_by_key.3 +++ b/docs/man/memcached_delete_by_key.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_DELETE_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_DELETE_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_delete_by_key \- libmemcached Documentation . diff --git a/docs/man/memcached_destroy_sasl_auth_data.3 b/docs/man/memcached_destroy_sasl_auth_data.3 index 3ff9394c..1718134f 100644 --- a/docs/man/memcached_destroy_sasl_auth_data.3 +++ b/docs/man/memcached_destroy_sasl_auth_data.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_destroy_sasl_auth_data \- libmemcached Documentation . diff --git a/docs/man/memcached_dump.3 b/docs/man/memcached_dump.3 index 5888887d..308d169e 100644 --- a/docs/man/memcached_dump.3 +++ b/docs/man/memcached_dump.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_DUMP" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_DUMP" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_dump \- libmemcached Documentation . diff --git a/docs/man/memcached_fetch.3 b/docs/man/memcached_fetch.3 index ace471ea..ce10c562 100644 --- a/docs/man/memcached_fetch.3 +++ b/docs/man/memcached_fetch.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_FETCH" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_FETCH" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_fetch \- Retrieving data from the server . diff --git a/docs/man/memcached_fetch_execute.3 b/docs/man/memcached_fetch_execute.3 index d2262c6d..71b51794 100644 --- a/docs/man/memcached_fetch_execute.3 +++ b/docs/man/memcached_fetch_execute.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_FETCH_EXECUTE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_FETCH_EXECUTE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_fetch_execute \- Retrieving data from the server . diff --git a/docs/man/memcached_fetch_result.3 b/docs/man/memcached_fetch_result.3 index a762e2a7..88ddb77b 100644 --- a/docs/man/memcached_fetch_result.3 +++ b/docs/man/memcached_fetch_result.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_FETCH_RESULT" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_FETCH_RESULT" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_fetch_result \- Retrieving data from the server . diff --git a/docs/man/memcached_flush.3 b/docs/man/memcached_flush.3 index 79cec020..54f91e95 100644 --- a/docs/man/memcached_flush.3 +++ b/docs/man/memcached_flush.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_FLUSH" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_FLUSH" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_flush \- libmemcached Documentation . @@ -43,7 +43,7 @@ Wipe contents of memcached servers Compile and link with \-lmemcached .SH DESCRIPTION .sp -memcached_flush() is used to wipe clean the contents of memcached(1) servers. +:c:func::\fImemcached_flush()\fP is used to wipe clean the contents of memcached(1) servers. It will either do this immediately or expire the content based on the expiration time passed to the method (a value of zero causes an immediate flush). The operation is not atomic to multiple servers, just atomic to a @@ -51,9 +51,9 @@ single server. That is, it will flush the servers in the order that they were added. .SH RETURN .sp -A value of type \fBmemcached_return_t\fP is returned +A value of type \fBmemcached_return_t\fP is returned On success that value will be \fBMEMCACHED_SUCCESS\fP. -Use memcached_strerror() to translate this value to a printable string. +Use \fBmemcached_strerror()\fP to translate this value to a printable string. .SH HOME .sp To find out more information please check: diff --git a/docs/man/memcached_flush_buffers.3 b/docs/man/memcached_flush_buffers.3 index 556fc99d..d1ce9fb5 100644 --- a/docs/man/memcached_flush_buffers.3 +++ b/docs/man/memcached_flush_buffers.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_FLUSH_BUFFERS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_FLUSH_BUFFERS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_flush_buffers \- libmemcached Documentation . diff --git a/docs/man/memcached_free.3 b/docs/man/memcached_free.3 index 806c0f28..4119cb2b 100644 --- a/docs/man/memcached_free.3 +++ b/docs/man/memcached_free.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_FREE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_FREE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_free \- libmemcached Documentation . diff --git a/docs/man/memcached_generate_hash.3 b/docs/man/memcached_generate_hash.3 index 6f6a2e9d..ebf38795 100644 --- a/docs/man/memcached_generate_hash.3 +++ b/docs/man/memcached_generate_hash.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_GENERATE_HASH" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_GENERATE_HASH" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_generate_hash \- Generating hash values directly . diff --git a/docs/man/memcached_generate_hash_value.3 b/docs/man/memcached_generate_hash_value.3 index 41b2b058..3a1a56a1 100644 --- a/docs/man/memcached_generate_hash_value.3 +++ b/docs/man/memcached_generate_hash_value.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_GENERATE_HASH_VALUE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_GENERATE_HASH_VALUE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_generate_hash_value \- Generating hash values directly . diff --git a/docs/man/memcached_get.3 b/docs/man/memcached_get.3 index 4acfdec5..e9f89d68 100644 --- a/docs/man/memcached_get.3 +++ b/docs/man/memcached_get.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_GET" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_GET" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_get \- Retrieving data from the server . diff --git a/docs/man/memcached_get_by_key.3 b/docs/man/memcached_get_by_key.3 index 49857b20..4447f202 100644 --- a/docs/man/memcached_get_by_key.3 +++ b/docs/man/memcached_get_by_key.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_GET_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_GET_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_get_by_key \- Retrieving data from the server . diff --git a/docs/man/memcached_get_memory_allocators.3 b/docs/man/memcached_get_memory_allocators.3 index 2565aef6..0f2de0b4 100644 --- a/docs/man/memcached_get_memory_allocators.3 +++ b/docs/man/memcached_get_memory_allocators.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_GET_MEMORY_ALLOCATORS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_GET_MEMORY_ALLOCATORS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_get_memory_allocators \- libmemcached Documentation . diff --git a/docs/man/memcached_get_sasl_callbacks.3 b/docs/man/memcached_get_sasl_callbacks.3 index 2dde7279..6848562b 100644 --- a/docs/man/memcached_get_sasl_callbacks.3 +++ b/docs/man/memcached_get_sasl_callbacks.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_GET_SASL_CALLBACKS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_GET_SASL_CALLBACKS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_get_sasl_callbacks \- libmemcached Documentation . diff --git a/docs/man/memcached_get_user_data.3 b/docs/man/memcached_get_user_data.3 index 47b5d2d6..ee89b9c2 100644 --- a/docs/man/memcached_get_user_data.3 +++ b/docs/man/memcached_get_user_data.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_GET_USER_DATA" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_GET_USER_DATA" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_get_user_data \- libmemcached Documentation . diff --git a/docs/man/memcached_increment.3 b/docs/man/memcached_increment.3 index 166ac9f8..4133b9ee 100644 --- a/docs/man/memcached_increment.3 +++ b/docs/man/memcached_increment.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_INCREMENT" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_INCREMENT" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_increment \- Incrementing and Decrementing Values . diff --git a/docs/man/memcached_increment_with_initial.3 b/docs/man/memcached_increment_with_initial.3 index a54b8475..9461815b 100644 --- a/docs/man/memcached_increment_with_initial.3 +++ b/docs/man/memcached_increment_with_initial.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_INCREMENT_WITH_INITIAL" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_INCREMENT_WITH_INITIAL" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_increment_with_initial \- Incrementing and Decrementing Values . diff --git a/docs/man/memcached_lib_version.3 b/docs/man/memcached_lib_version.3 index 2d3f56c9..53e11060 100644 --- a/docs/man/memcached_lib_version.3 +++ b/docs/man/memcached_lib_version.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_LIB_VERSION" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_LIB_VERSION" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_lib_version \- libmemcached Documentation . diff --git a/docs/man/memcached_memory_allocators.3 b/docs/man/memcached_memory_allocators.3 index 27ca3eda..43aa1acf 100644 --- a/docs/man/memcached_memory_allocators.3 +++ b/docs/man/memcached_memory_allocators.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_MEMORY_ALLOCATORS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_MEMORY_ALLOCATORS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_memory_allocators \- libmemcached Documentation . diff --git a/docs/man/memcached_mget.3 b/docs/man/memcached_mget.3 index 7968bb20..c29feb0c 100644 --- a/docs/man/memcached_mget.3 +++ b/docs/man/memcached_mget.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_MGET" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_MGET" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_mget \- Retrieving data from the server . diff --git a/docs/man/memcached_mget_by_key.3 b/docs/man/memcached_mget_by_key.3 index c87626ac..72f3a9b1 100644 --- a/docs/man/memcached_mget_by_key.3 +++ b/docs/man/memcached_mget_by_key.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_MGET_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_MGET_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_mget_by_key \- Retrieving data from the server . diff --git a/docs/man/memcached_mget_execute.3 b/docs/man/memcached_mget_execute.3 index 02b3846c..278340f2 100644 --- a/docs/man/memcached_mget_execute.3 +++ b/docs/man/memcached_mget_execute.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_MGET_EXECUTE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_MGET_EXECUTE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_mget_execute \- Retrieving data from the server . diff --git a/docs/man/memcached_mget_execute_by_key.3 b/docs/man/memcached_mget_execute_by_key.3 index ec11b3d2..ddf52a37 100644 --- a/docs/man/memcached_mget_execute_by_key.3 +++ b/docs/man/memcached_mget_execute_by_key.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_MGET_EXECUTE_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_MGET_EXECUTE_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_mget_execute_by_key \- Retrieving data from the server . diff --git a/docs/man/memcached_pool.3 b/docs/man/memcached_pool.3 index 0dfba992..077c7e59 100644 --- a/docs/man/memcached_pool.3 +++ b/docs/man/memcached_pool.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_POOL" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_POOL" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_pool \- libmemcached Documentation . diff --git a/docs/man/memcached_pool_behavior_get.3 b/docs/man/memcached_pool_behavior_get.3 index 1d735cb0..772ee3c6 100644 --- a/docs/man/memcached_pool_behavior_get.3 +++ b/docs/man/memcached_pool_behavior_get.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_POOL_BEHAVIOR_GET" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_POOL_BEHAVIOR_GET" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_pool_behavior_get \- libmemcached Documentation . diff --git a/docs/man/memcached_pool_behavior_set.3 b/docs/man/memcached_pool_behavior_set.3 index c0a96a3e..11f8e6f4 100644 --- a/docs/man/memcached_pool_behavior_set.3 +++ b/docs/man/memcached_pool_behavior_set.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_POOL_BEHAVIOR_SET" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_POOL_BEHAVIOR_SET" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_pool_behavior_set \- libmemcached Documentation . diff --git a/docs/man/memcached_pool_create.3 b/docs/man/memcached_pool_create.3 index 1a09624c..5ee9dcbc 100644 --- a/docs/man/memcached_pool_create.3 +++ b/docs/man/memcached_pool_create.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_POOL_CREATE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_POOL_CREATE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_pool_create \- libmemcached Documentation . diff --git a/docs/man/memcached_pool_destroy.3 b/docs/man/memcached_pool_destroy.3 index 73e6ae2e..af3352ec 100644 --- a/docs/man/memcached_pool_destroy.3 +++ b/docs/man/memcached_pool_destroy.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_POOL_DESTROY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_POOL_DESTROY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_pool_destroy \- libmemcached Documentation . diff --git a/docs/man/memcached_pool_pop.3 b/docs/man/memcached_pool_pop.3 index 8d5707f9..f42da7bf 100644 --- a/docs/man/memcached_pool_pop.3 +++ b/docs/man/memcached_pool_pop.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_POOL_POP" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_POOL_POP" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_pool_pop \- libmemcached Documentation . diff --git a/docs/man/memcached_pool_push.3 b/docs/man/memcached_pool_push.3 index cfe2a116..79cd992c 100644 --- a/docs/man/memcached_pool_push.3 +++ b/docs/man/memcached_pool_push.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_POOL_PUSH" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_POOL_PUSH" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_pool_push \- libmemcached Documentation . diff --git a/docs/man/memcached_pool_st.3 b/docs/man/memcached_pool_st.3 index 9479f5c1..73b53797 100644 --- a/docs/man/memcached_pool_st.3 +++ b/docs/man/memcached_pool_st.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_POOL_ST" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_POOL_ST" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_pool_st \- libmemcached Documentation . diff --git a/docs/man/memcached_prepend.3 b/docs/man/memcached_prepend.3 index 4793e355..edc8a71e 100644 --- a/docs/man/memcached_prepend.3 +++ b/docs/man/memcached_prepend.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_PREPEND" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_PREPEND" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_prepend \- Appending to or Prepending to data on the server . diff --git a/docs/man/memcached_prepend_by_key.3 b/docs/man/memcached_prepend_by_key.3 index 88b1211b..86368d31 100644 --- a/docs/man/memcached_prepend_by_key.3 +++ b/docs/man/memcached_prepend_by_key.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_PREPEND_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_PREPEND_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_prepend_by_key \- Appending to or Prepending to data on the server . diff --git a/docs/man/memcached_quit.3 b/docs/man/memcached_quit.3 index bc0cd76d..3f353799 100644 --- a/docs/man/memcached_quit.3 +++ b/docs/man/memcached_quit.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_QUIT" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_QUIT" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_quit \- libmemcached Documentation . diff --git a/docs/man/memcached_replace.3 b/docs/man/memcached_replace.3 index d5d85afb..624f46af 100644 --- a/docs/man/memcached_replace.3 +++ b/docs/man/memcached_replace.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_REPLACE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_REPLACE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_replace \- Storing and Replacing Data . diff --git a/docs/man/memcached_replace_by_key.3 b/docs/man/memcached_replace_by_key.3 index a98deb7f..64cc4a68 100644 --- a/docs/man/memcached_replace_by_key.3 +++ b/docs/man/memcached_replace_by_key.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_REPLACE_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_REPLACE_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_replace_by_key \- Storing and Replacing Data . diff --git a/docs/man/memcached_result_cas.3 b/docs/man/memcached_result_cas.3 index 2d2d586f..67e3d9d5 100644 --- a/docs/man/memcached_result_cas.3 +++ b/docs/man/memcached_result_cas.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_RESULT_CAS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_RESULT_CAS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_result_cas \- Working with result sets . diff --git a/docs/man/memcached_result_create.3 b/docs/man/memcached_result_create.3 index 637f2544..4d3b2d99 100644 --- a/docs/man/memcached_result_create.3 +++ b/docs/man/memcached_result_create.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_RESULT_CREATE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_RESULT_CREATE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_result_create \- Working with result sets . diff --git a/docs/man/memcached_result_flags.3 b/docs/man/memcached_result_flags.3 index c3cc27fb..b68c76fd 100644 --- a/docs/man/memcached_result_flags.3 +++ b/docs/man/memcached_result_flags.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_RESULT_FLAGS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_RESULT_FLAGS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_result_flags \- Working with result sets . diff --git a/docs/man/memcached_result_free.3 b/docs/man/memcached_result_free.3 index 010f607f..7b3bec2e 100644 --- a/docs/man/memcached_result_free.3 +++ b/docs/man/memcached_result_free.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_RESULT_FREE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_RESULT_FREE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_result_free \- Working with result sets . diff --git a/docs/man/memcached_result_key_length.3 b/docs/man/memcached_result_key_length.3 index 75394107..7b57eea2 100644 --- a/docs/man/memcached_result_key_length.3 +++ b/docs/man/memcached_result_key_length.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_RESULT_KEY_LENGTH" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_RESULT_KEY_LENGTH" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_result_key_length \- Working with result sets . diff --git a/docs/man/memcached_result_key_value.3 b/docs/man/memcached_result_key_value.3 index 12551dfd..c44354e3 100644 --- a/docs/man/memcached_result_key_value.3 +++ b/docs/man/memcached_result_key_value.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_RESULT_KEY_VALUE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_RESULT_KEY_VALUE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_result_key_value \- Working with result sets . diff --git a/docs/man/memcached_result_length.3 b/docs/man/memcached_result_length.3 index cafac904..f6353d63 100644 --- a/docs/man/memcached_result_length.3 +++ b/docs/man/memcached_result_length.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_RESULT_LENGTH" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_RESULT_LENGTH" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_result_length \- Working with result sets . diff --git a/docs/man/memcached_result_st.3 b/docs/man/memcached_result_st.3 index f6a554d6..5b621ef5 100644 --- a/docs/man/memcached_result_st.3 +++ b/docs/man/memcached_result_st.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_RESULT_ST" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_RESULT_ST" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_result_st \- Working with result sets . diff --git a/docs/man/memcached_result_value.3 b/docs/man/memcached_result_value.3 index 5dcd58ab..a8d958be 100644 --- a/docs/man/memcached_result_value.3 +++ b/docs/man/memcached_result_value.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_RESULT_VALUE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_RESULT_VALUE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_result_value \- Working with result sets . diff --git a/docs/man/memcached_sasl.3 b/docs/man/memcached_sasl.3 index d969b9d8..e24bb99c 100644 --- a/docs/man/memcached_sasl.3 +++ b/docs/man/memcached_sasl.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SASL" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SASL" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_sasl \- libmemcached Documentation . diff --git a/docs/man/memcached_sasl_set_auth_data.3 b/docs/man/memcached_sasl_set_auth_data.3 index 024eb07a..adff3c06 100644 --- a/docs/man/memcached_sasl_set_auth_data.3 +++ b/docs/man/memcached_sasl_set_auth_data.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SASL_SET_AUTH_DATA" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SASL_SET_AUTH_DATA" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_sasl_set_auth_data \- libmemcached Documentation . diff --git a/docs/man/memcached_server_add.3 b/docs/man/memcached_server_add.3 index 63cdeee9..5f828198 100644 --- a/docs/man/memcached_server_add.3 +++ b/docs/man/memcached_server_add.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVER_ADD" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVER_ADD" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_server_add \- libmemcached Documentation . diff --git a/docs/man/memcached_server_add_unix_socket.3 b/docs/man/memcached_server_add_unix_socket.3 index c6976d7a..88db6738 100644 --- a/docs/man/memcached_server_add_unix_socket.3 +++ b/docs/man/memcached_server_add_unix_socket.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVER_ADD_UNIX_SOCKET" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVER_ADD_UNIX_SOCKET" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_server_add_unix_socket \- libmemcached Documentation . diff --git a/docs/man/memcached_server_count.3 b/docs/man/memcached_server_count.3 index c2c42c7e..cbd108c9 100644 --- a/docs/man/memcached_server_count.3 +++ b/docs/man/memcached_server_count.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVER_COUNT" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVER_COUNT" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_server_count \- libmemcached Documentation . diff --git a/docs/man/memcached_server_cursor.3 b/docs/man/memcached_server_cursor.3 index 773ea944..f5f29f53 100644 --- a/docs/man/memcached_server_cursor.3 +++ b/docs/man/memcached_server_cursor.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVER_CURSOR" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVER_CURSOR" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_server_cursor \- libmemcached Documentation . diff --git a/docs/man/memcached_server_list.3 b/docs/man/memcached_server_list.3 index 3666223a..f23eff77 100644 --- a/docs/man/memcached_server_list.3 +++ b/docs/man/memcached_server_list.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVER_LIST" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVER_LIST" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_server_list \- libmemcached Documentation . diff --git a/docs/man/memcached_server_list_append.3 b/docs/man/memcached_server_list_append.3 index c2a0c13b..9a4df3c3 100644 --- a/docs/man/memcached_server_list_append.3 +++ b/docs/man/memcached_server_list_append.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVER_LIST_APPEND" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVER_LIST_APPEND" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_server_list_append \- libmemcached Documentation . diff --git a/docs/man/memcached_server_list_count.3 b/docs/man/memcached_server_list_count.3 index f67b1a0d..ddfda4a7 100644 --- a/docs/man/memcached_server_list_count.3 +++ b/docs/man/memcached_server_list_count.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVER_LIST_COUNT" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVER_LIST_COUNT" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_server_list_count \- libmemcached Documentation . diff --git a/docs/man/memcached_server_list_free.3 b/docs/man/memcached_server_list_free.3 index fdbd78b6..5d50cf47 100644 --- a/docs/man/memcached_server_list_free.3 +++ b/docs/man/memcached_server_list_free.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVER_LIST_FREE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVER_LIST_FREE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_server_list_free \- libmemcached Documentation . diff --git a/docs/man/memcached_server_push.3 b/docs/man/memcached_server_push.3 index 9c66815c..22addfda 100644 --- a/docs/man/memcached_server_push.3 +++ b/docs/man/memcached_server_push.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVER_PUSH" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVER_PUSH" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_server_push \- libmemcached Documentation . diff --git a/docs/man/memcached_server_st.3 b/docs/man/memcached_server_st.3 index 4a4ee67c..6bb0dc43 100644 --- a/docs/man/memcached_server_st.3 +++ b/docs/man/memcached_server_st.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVER_ST" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVER_ST" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_server_st \- libmemcached Documentation . diff --git a/docs/man/memcached_servers.3 b/docs/man/memcached_servers.3 index b73e4bfe..b78ec6fd 100644 --- a/docs/man/memcached_servers.3 +++ b/docs/man/memcached_servers.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVERS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVERS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_servers \- libmemcached Documentation . diff --git a/docs/man/memcached_servers_parse.3 b/docs/man/memcached_servers_parse.3 index f9d90c74..9910686c 100644 --- a/docs/man/memcached_servers_parse.3 +++ b/docs/man/memcached_servers_parse.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVERS_PARSE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVERS_PARSE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_servers_parse \- libmemcached Documentation . diff --git a/docs/man/memcached_servers_reset.3 b/docs/man/memcached_servers_reset.3 index 8b7f4878..0828ca8b 100644 --- a/docs/man/memcached_servers_reset.3 +++ b/docs/man/memcached_servers_reset.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SERVERS_RESET" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SERVERS_RESET" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_servers_reset \- libmemcached Documentation . diff --git a/docs/man/memcached_set.3 b/docs/man/memcached_set.3 index 9a1666cf..56178259 100644 --- a/docs/man/memcached_set.3 +++ b/docs/man/memcached_set.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SET" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SET" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_set \- Storing and Replacing Data . diff --git a/docs/man/memcached_set_by_key.3 b/docs/man/memcached_set_by_key.3 index 26dfd447..fc529a5f 100644 --- a/docs/man/memcached_set_by_key.3 +++ b/docs/man/memcached_set_by_key.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SET_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SET_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_set_by_key \- Storing and Replacing Data . diff --git a/docs/man/memcached_set_memory_allocators.3 b/docs/man/memcached_set_memory_allocators.3 index 92a0967c..17fe829e 100644 --- a/docs/man/memcached_set_memory_allocators.3 +++ b/docs/man/memcached_set_memory_allocators.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SET_MEMORY_ALLOCATORS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SET_MEMORY_ALLOCATORS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_set_memory_allocators \- libmemcached Documentation . diff --git a/docs/man/memcached_set_memory_allocators_context.3 b/docs/man/memcached_set_memory_allocators_context.3 index 7208433a..410d24c2 100644 --- a/docs/man/memcached_set_memory_allocators_context.3 +++ b/docs/man/memcached_set_memory_allocators_context.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SET_MEMORY_ALLOCATORS_CONTEXT" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SET_MEMORY_ALLOCATORS_CONTEXT" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_set_memory_allocators_context \- libmemcached Documentation . diff --git a/docs/man/memcached_set_sasl_callbacks.3 b/docs/man/memcached_set_sasl_callbacks.3 index 42f83e11..4a64db35 100644 --- a/docs/man/memcached_set_sasl_callbacks.3 +++ b/docs/man/memcached_set_sasl_callbacks.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_set_sasl_callbacks \- libmemcached Documentation . diff --git a/docs/man/memcached_set_user_data.3 b/docs/man/memcached_set_user_data.3 index 833e006a..b4dd48d3 100644 --- a/docs/man/memcached_set_user_data.3 +++ b/docs/man/memcached_set_user_data.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SET_USER_DATA" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_SET_USER_DATA" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_set_user_data \- libmemcached Documentation . diff --git a/docs/man/memcached_stat.3 b/docs/man/memcached_stat.3 index bb5f74ff..f8736919 100644 --- a/docs/man/memcached_stat.3 +++ b/docs/man/memcached_stat.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_STAT" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_STAT" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_stat \- libmemcached Documentation . diff --git a/docs/man/memcached_stat_execute.3 b/docs/man/memcached_stat_execute.3 index efd6ea22..edd4abc9 100644 --- a/docs/man/memcached_stat_execute.3 +++ b/docs/man/memcached_stat_execute.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_STAT_EXECUTE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_STAT_EXECUTE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_stat_execute \- libmemcached Documentation . diff --git a/docs/man/memcached_stat_get_keys.3 b/docs/man/memcached_stat_get_keys.3 index 2c940cfd..624924a9 100644 --- a/docs/man/memcached_stat_get_keys.3 +++ b/docs/man/memcached_stat_get_keys.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_STAT_GET_KEYS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_STAT_GET_KEYS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_stat_get_keys \- libmemcached Documentation . diff --git a/docs/man/memcached_stat_get_value.3 b/docs/man/memcached_stat_get_value.3 index 9833d4b6..934bfae3 100644 --- a/docs/man/memcached_stat_get_value.3 +++ b/docs/man/memcached_stat_get_value.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_STAT_GET_VALUE" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_STAT_GET_VALUE" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_stat_get_value \- libmemcached Documentation . diff --git a/docs/man/memcached_stat_servername.3 b/docs/man/memcached_stat_servername.3 index f3285d0e..c21f0489 100644 --- a/docs/man/memcached_stat_servername.3 +++ b/docs/man/memcached_stat_servername.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_STAT_SERVERNAME" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_STAT_SERVERNAME" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_stat_servername \- libmemcached Documentation . diff --git a/docs/man/memcached_stats.3 b/docs/man/memcached_stats.3 index 947d3e93..8620b23c 100644 --- a/docs/man/memcached_stats.3 +++ b/docs/man/memcached_stats.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_STATS" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_STATS" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_stats \- libmemcached Documentation . diff --git a/docs/man/memcached_strerror.3 b/docs/man/memcached_strerror.3 index a3ee41b5..bfaba037 100644 --- a/docs/man/memcached_strerror.3 +++ b/docs/man/memcached_strerror.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_STRERROR" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_STRERROR" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_strerror \- libmemcached Documentation . diff --git a/docs/man/memcached_user_data.3 b/docs/man/memcached_user_data.3 index f2e34757..727bcb6c 100644 --- a/docs/man/memcached_user_data.3 +++ b/docs/man/memcached_user_data.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_USER_DATA" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_USER_DATA" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_user_data \- libmemcached Documentation . diff --git a/docs/man/memcached_verbosity.3 b/docs/man/memcached_verbosity.3 index 45a857ac..f2af7dd7 100644 --- a/docs/man/memcached_verbosity.3 +++ b/docs/man/memcached_verbosity.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_VERBOSITY" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_VERBOSITY" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_verbosity \- libmemcached Documentation . diff --git a/docs/man/memcached_version.3 b/docs/man/memcached_version.3 index b0e218d4..fb5de951 100644 --- a/docs/man/memcached_version.3 +++ b/docs/man/memcached_version.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_VERSION" "3" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_VERSION" "3" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcached_version \- libmemcached Documentation . diff --git a/docs/man/memcapable.1 b/docs/man/memcapable.1 index d613ae5f..2d7ae40a 100644 --- a/docs/man/memcapable.1 +++ b/docs/man/memcapable.1 @@ -1,4 +1,4 @@ -.TH "MEMCAPABLE" "1" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCAPABLE" "1" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcapable \- libmemcached Documentation . diff --git a/docs/man/memcat.1 b/docs/man/memcat.1 index ff516f60..aa51cd06 100644 --- a/docs/man/memcat.1 +++ b/docs/man/memcat.1 @@ -1,4 +1,4 @@ -.TH "MEMCAT" "1" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCAT" "1" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcat \- libmemcached Documentation . diff --git a/docs/man/memcp.1 b/docs/man/memcp.1 index f2f10bfa..40056375 100644 --- a/docs/man/memcp.1 +++ b/docs/man/memcp.1 @@ -1,4 +1,4 @@ -.TH "MEMCP" "1" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMCP" "1" "June 02, 2011" "0.47" "libmemcached" .SH NAME memcp \- libmemcached Documentation . diff --git a/docs/man/memdump.1 b/docs/man/memdump.1 index 72eedbfd..70f3930d 100644 --- a/docs/man/memdump.1 +++ b/docs/man/memdump.1 @@ -1,4 +1,4 @@ -.TH "MEMDUMP" "1" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMDUMP" "1" "June 02, 2011" "0.47" "libmemcached" .SH NAME memdump \- libmemcached Documentation . diff --git a/docs/man/memerror.1 b/docs/man/memerror.1 index 0a367181..bcc0ab2e 100644 --- a/docs/man/memerror.1 +++ b/docs/man/memerror.1 @@ -1,4 +1,4 @@ -.TH "MEMERROR" "1" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMERROR" "1" "June 02, 2011" "0.47" "libmemcached" .SH NAME memerror \- libmemcached Documentation . diff --git a/docs/man/memflush.1 b/docs/man/memflush.1 index 0f6ae5e3..a4cf20b9 100644 --- a/docs/man/memflush.1 +++ b/docs/man/memflush.1 @@ -1,4 +1,4 @@ -.TH "MEMFLUSH" "1" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMFLUSH" "1" "June 02, 2011" "0.47" "libmemcached" .SH NAME memflush \- libmemcached Documentation . diff --git a/docs/man/memrm.1 b/docs/man/memrm.1 index 830cb9a0..168abe27 100644 --- a/docs/man/memrm.1 +++ b/docs/man/memrm.1 @@ -1,4 +1,4 @@ -.TH "MEMRM" "1" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMRM" "1" "June 02, 2011" "0.47" "libmemcached" .SH NAME memrm \- libmemcached Documentation . diff --git a/docs/man/memslap.1 b/docs/man/memslap.1 index 891b2662..a1066c42 100644 --- a/docs/man/memslap.1 +++ b/docs/man/memslap.1 @@ -1,4 +1,4 @@ -.TH "MEMSLAP" "1" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMSLAP" "1" "June 02, 2011" "0.47" "libmemcached" .SH NAME memslap \- libmemcached Documentation . diff --git a/docs/man/memstat.1 b/docs/man/memstat.1 index 2d77f183..447437fd 100644 --- a/docs/man/memstat.1 +++ b/docs/man/memstat.1 @@ -1,4 +1,4 @@ -.TH "MEMSTAT" "1" "May 23, 2011" "0.47" "libmemcached" +.TH "MEMSTAT" "1" "June 02, 2011" "0.47" "libmemcached" .SH NAME memstat \- libmemcached Documentation . diff --git a/libmemcached/hosts.cc b/libmemcached/hosts.cc index 2f600197..10af05c8 100644 --- a/libmemcached/hosts.cc +++ b/libmemcached/hosts.cc @@ -259,8 +259,8 @@ static memcached_return_t update_continuum(memcached_st *ptr) for (uint32_t x= 0; x < pointer_per_hash; x++) { uint32_t value= ketama_server_hash(sort_host, (size_t)sort_host_length, x); - ptr->ketama.continuum[continuum_index].index= host_index; - ptr->ketama.continuum[continuum_index++].value= value; + ptr->ketama.continuum[continuum_index].index= host_index; + ptr->ketama.continuum[continuum_index++].value= value; } } else @@ -307,9 +307,9 @@ static memcached_return_t update_continuum(memcached_st *ptr) { for (uint32_t x = 0; x < pointer_per_hash; x++) { - uint32_t value= ketama_server_hash(sort_host, (size_t)sort_host_length, x); - ptr->ketama.continuum[continuum_index].index= host_index; - ptr->ketama.continuum[continuum_index++].value= value; + uint32_t value= ketama_server_hash(sort_host, (size_t)sort_host_length, x); + ptr->ketama.continuum[continuum_index].index= host_index; + ptr->ketama.continuum[continuum_index++].value= value; } } else @@ -494,3 +494,20 @@ static memcached_return_t server_add(memcached_st *ptr, const char *hostname, return run_distribution(ptr); } + +memcached_return_t memcached_server_add_parsed(memcached_st *ptr, + const char *hostname, + size_t hostname_length, + in_port_t port, + uint32_t weight) +{ + char buffer[NI_MAXHOST]; + + memcpy(buffer, hostname, hostname_length); + buffer[hostname_length]= 0; + + return server_add(ptr, buffer, + port, + weight, + MEMCACHED_CONNECTION_TCP); +} diff --git a/libmemcached/options/parser.am b/libmemcached/options/parser.am index 7bfd21c7..e69de29b 100644 --- a/libmemcached/options/parser.am +++ b/libmemcached/options/parser.am @@ -1,29 +0,0 @@ -# vim:expandtab:shiftwidth=2:tabstop=2:smarttab: -# -# Libmemcached Scanner and Parser -# -# Copyright (C) 2011 DataDifferental, http://datadifferential.com -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - - -libmemcached/options/parser.h: libmemcached/options/parser.cc - -libmemcached/options/parser.cc: libmemcached/options/parser.yy libmemcached/options/scanner.l libmemcached/options/scanner.h - $(AM_V_YACC)$(am__skipyacc) $(YACC) $(YLFLAGS) $(AM_YFLAGS) -o $@ $< - -libmemcached/options/scanner.h: libmemcached/options/scanner.cc - -libmemcached/options/scanner.cc: libmemcached/options/scanner.l libmemcached/options/parser.yy - $(AM_V_GEN)$(LEX) $< diff --git a/libmemcached/options/parser.yy b/libmemcached/options/parser.yy deleted file mode 100644 index 6a7bd9b9..00000000 --- a/libmemcached/options/parser.yy +++ /dev/null @@ -1,466 +0,0 @@ -/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: - * - * Libmemcached Scanner and Parser - * - * Copyright (C) 2011 DataDifferental, http://datadifferential.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -%error-verbose -%debug -%defines -%expect 0 -%output "libmemcached/options/parser.cc" -%defines "libmemcached/options/parser.h" -%lex-param { yyscan_t *scanner } -%name-prefix="config_" -%parse-param { Context *context } -%parse-param { yyscan_t *scanner } -%pure-parser -%require "2.2" -%start begin -%verbose - -%{ - -#include - -#include - -#include -#include -#include -#include - -#pragma GCC diagnostic ignored "-Wold-style-cast" - -int conf_lex(YYSTYPE* lvalp, void* scanner); - -#define parser_abort(A, B) do { (A)->abort((B)); YYABORT; } while (0) - -inline void config_error(Context *context, yyscan_t *scanner, const char *error) -{ - if (not context->end()) - context->abort(error); -} - -%} - -%token COMMENT -%token END -%token ERROR -%token RESET -%token PARSER_DEBUG -%token INCLUDE -%token CONFIGURE_FILE -%token EMPTY_LINE -%token SERVER -%token SERVERS -%token SERVERS_OPTION -%token UNKNOWN_OPTION -%token UNKNOWN - -/* All behavior options */ -%token BINARY_PROTOCOL -%token BUFFER_REQUESTS -%token CONNECT_TIMEOUT -%token DISTRIBUTION -%token HASH -%token HASH_WITH_NAMESPACE -%token IO_BYTES_WATERMARK -%token IO_KEY_PREFETCH -%token IO_MSG_WATERMARK -%token KETAMA_HASH -%token KETAMA_WEIGHTED -%token NOREPLY -%token NUMBER_OF_REPLICAS -%token POLL_TIMEOUT -%token RANDOMIZE_REPLICA_READ -%token RCV_TIMEOUT -%token REMOVE_FAILED_SERVERS -%token RETRY_TIMEOUT -%token SND_TIMEOUT -%token SOCKET_RECV_SIZE -%token SOCKET_SEND_SIZE -%token SORT_HOSTS -%token SUPPORT_CAS -%token USER_DATA -%token USE_UDP -%token VERIFY_KEY -%token _TCP_KEEPALIVE -%token _TCP_KEEPIDLE -%token _TCP_NODELAY - -/* Callbacks */ -%token NAMESPACE - -/* Pool */ -%token POOL_MIN -%token POOL_MAX - -/* Hash types */ -%token MD5 -%token CRC -%token FNV1_64 -%token FNV1A_64 -%token FNV1_32 -%token FNV1A_32 -%token HSIEH -%token MURMUR -%token JENKINS - -/* Distributions */ -%token CONSISTENT -%token MODULA -%token RANDOM - -/* Boolean values */ -%token TRUE -%token FALSE - -%nonassoc ',' -%nonassoc '=' - -%token FLOAT -%token NUMBER -%token PORT -%token WEIGHT_START -%token IPADDRESS -%token HOSTNAME -%token STRING -%token QUOTED_STRING -%token FILE_PATH - -%type behavior_boolean -%type behavior_number -%type distribution -%type hash -%type optional_port -%type optional_weight -%type string - -%% - -begin: - statement - | begin ' ' statement - ; - -statement: - expression - { } - | COMMENT - { } - | EMPTY_LINE - { } - | END - { - context->set_end(); - YYACCEPT; - } - | ERROR - { - context->rc= MEMCACHED_PARSE_USER_ERROR; - parser_abort(context, NULL); - } - | RESET - { - memcached_reset(context->memc); - } - | PARSER_DEBUG - { - yydebug= 1; - } - | INCLUDE ' ' string - { - if ((context->rc= memcached_parse_configure_file(context->memc, $3.c_str, $3.size)) != MEMCACHED_SUCCESS) - { - parser_abort(context, NULL); - } - } - ; - - -expression: - SERVER HOSTNAME optional_port optional_weight - { - if (memcached_failed(context->rc= memcached_server_add_with_weight(context->memc, $2.c_str, $3, $4))) - { - parser_abort(context, NULL); - } - context->unset_server(); - } - | SERVER IPADDRESS optional_port optional_weight - { - if (memcached_failed(context->rc= memcached_server_add_with_weight(context->memc, $2.c_str, $3, $4))) - { - parser_abort(context, NULL); - } - context->unset_server(); - } - | CONFIGURE_FILE string - { - memcached_set_configuration_file(context->memc, $2.c_str, $2.size); - } - | POOL_MIN NUMBER - { - context->memc->configure.initial_pool_size= $2; - } - | POOL_MAX NUMBER - { - context->memc->configure.max_pool_size= $2; - } - | behaviors - ; - -behaviors: - NAMESPACE string - { - if ((context->rc= memcached_set_prefix_key(context->memc, $2.c_str, $2.size)) != MEMCACHED_SUCCESS) - { - parser_abort(context, NULL);; - } - } - | DISTRIBUTION distribution - { - if ((context->rc= memcached_behavior_set(context->memc, MEMCACHED_BEHAVIOR_DISTRIBUTION, $2)) != MEMCACHED_SUCCESS) - { - parser_abort(context, NULL);; - } - } - | DISTRIBUTION distribution ',' hash - { - if ((context->rc= memcached_behavior_set(context->memc, MEMCACHED_BEHAVIOR_DISTRIBUTION, $2)) != MEMCACHED_SUCCESS) - { - parser_abort(context, NULL);; - } - if ((context->rc= memcached_behavior_set_distribution_hash(context->memc, $4)) != MEMCACHED_SUCCESS) - { - parser_abort(context, NULL);; - } - } - | HASH hash - { - if ((context->rc= memcached_behavior_set(context->memc, MEMCACHED_BEHAVIOR_HASH, $2)) != MEMCACHED_SUCCESS) - { - parser_abort(context, NULL);; - } - } - | behavior_number NUMBER - { - if ((context->rc= memcached_behavior_set(context->memc, $1, $2)) != MEMCACHED_SUCCESS) - { - parser_abort(context, NULL);; - } - } - | behavior_boolean - { - if ((context->rc= memcached_behavior_set(context->memc, $1, true)) != MEMCACHED_SUCCESS) - { - parser_abort(context, NULL);; - } - } - | USER_DATA - { - } - ; - -behavior_number: - REMOVE_FAILED_SERVERS - { - $$= MEMCACHED_BEHAVIOR_REMOVE_FAILED_SERVERS; - } - | CONNECT_TIMEOUT - { - $$= MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT; - } - | IO_MSG_WATERMARK - { - $$= MEMCACHED_BEHAVIOR_IO_MSG_WATERMARK; - } - | IO_BYTES_WATERMARK - { - $$= MEMCACHED_BEHAVIOR_IO_BYTES_WATERMARK; - } - | IO_KEY_PREFETCH - { - $$= MEMCACHED_BEHAVIOR_IO_KEY_PREFETCH; - } - | NUMBER_OF_REPLICAS - { - $$= MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS; - } - | POLL_TIMEOUT - { - $$= MEMCACHED_BEHAVIOR_POLL_TIMEOUT; - } - | RCV_TIMEOUT - { - $$= MEMCACHED_BEHAVIOR_RCV_TIMEOUT; - } - | RETRY_TIMEOUT - { - $$= MEMCACHED_BEHAVIOR_RETRY_TIMEOUT; - } - | SND_TIMEOUT - { - $$= MEMCACHED_BEHAVIOR_SND_TIMEOUT; - } - | SOCKET_RECV_SIZE - { - $$= MEMCACHED_BEHAVIOR_SOCKET_RECV_SIZE; - } - | SOCKET_SEND_SIZE - { - $$= MEMCACHED_BEHAVIOR_SOCKET_SEND_SIZE; - } - ; - -behavior_boolean: - BINARY_PROTOCOL - { - $$= MEMCACHED_BEHAVIOR_BINARY_PROTOCOL; - } - | BUFFER_REQUESTS - { - $$= MEMCACHED_BEHAVIOR_BUFFER_REQUESTS; - } - | HASH_WITH_NAMESPACE - { - $$= MEMCACHED_BEHAVIOR_HASH_WITH_PREFIX_KEY; - } - | NOREPLY - { - $$= MEMCACHED_BEHAVIOR_NOREPLY; - } - | RANDOMIZE_REPLICA_READ - { - $$= MEMCACHED_BEHAVIOR_RANDOMIZE_REPLICA_READ; - } - | SORT_HOSTS - { - $$= MEMCACHED_BEHAVIOR_SORT_HOSTS; - } - | SUPPORT_CAS - { - $$= MEMCACHED_BEHAVIOR_SUPPORT_CAS; - } - | _TCP_NODELAY - { - $$= MEMCACHED_BEHAVIOR_TCP_NODELAY; - } - | _TCP_KEEPALIVE - { - $$= MEMCACHED_BEHAVIOR_TCP_KEEPALIVE; - } - | _TCP_KEEPIDLE - { - $$= MEMCACHED_BEHAVIOR_TCP_KEEPIDLE; - } - | USE_UDP - { - $$= MEMCACHED_BEHAVIOR_USE_UDP; - } - | VERIFY_KEY - { - $$= MEMCACHED_BEHAVIOR_VERIFY_KEY; - } - - -optional_port: - { $$= MEMCACHED_DEFAULT_PORT;} - | PORT - { }; - ; - -optional_weight: - { $$= 1; } - | WEIGHT_START - { } - ; - -hash: - MD5 - { - $$= MEMCACHED_HASH_MD5; - } - | CRC - { - $$= MEMCACHED_HASH_CRC; - } - | FNV1_64 - { - $$= MEMCACHED_HASH_FNV1_64; - } - | FNV1A_64 - { - $$= MEMCACHED_HASH_FNV1A_64; - } - | FNV1_32 - { - $$= MEMCACHED_HASH_FNV1_32; - } - | FNV1A_32 - { - $$= MEMCACHED_HASH_FNV1A_32; - } - | HSIEH - { - $$= MEMCACHED_HASH_HSIEH; - } - | MURMUR - { - $$= MEMCACHED_HASH_MURMUR; - } - | JENKINS - { - $$= MEMCACHED_HASH_JENKINS; - } - ; - -string: - STRING - { - $$= $1; - } - | QUOTED_STRING - { - $$.c_str= $1.c_str +1; // +1 to move use passed the initial quote - $$.size= $1.size -2; // -2 removes the begin and end quote - } - ; - -distribution: - CONSISTENT - { - $$= MEMCACHED_DISTRIBUTION_CONSISTENT; - } - | MODULA - { - $$= MEMCACHED_DISTRIBUTION_MODULA; - } - | RANDOM - { - $$= MEMCACHED_DISTRIBUTION_RANDOM; - } - ; - -%% - -void Context::start() -{ - config_parse(this, (void **)scanner); -} - diff --git a/libmemcached/options/scanner.l b/libmemcached/options/scanner.l deleted file mode 100644 index dd6a9e00..00000000 --- a/libmemcached/options/scanner.l +++ /dev/null @@ -1,208 +0,0 @@ -/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: - * - * Libmemcached Scanner and Parser - * - * Copyright (C) 2011 DataDifferental, http://datadifferential.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -%top{ - -#include -#include -#include -#include - -#pragma GCC diagnostic ignored "-Wold-style-cast" -#pragma GCC diagnostic ignored "-Wsign-compare" -#pragma GCC diagnostic ignored "-Wunused-parameter" - -#define YY_EXTRA_TYPE Context* - -} - - -%{ -#include -#include - -#define PARAM yyget_extra(yyscanner) - -#define get_lex_chars(buffer, result, max_size, context) \ -{ \ - if (context->pos >= context->length) \ - { \ - result= YY_NULL; \ - } \ - else \ - { \ - result= (int)(context->length - context->pos); \ - (size_t)result > (size_t)max_size ? result= max_size : 0; \ - memcpy(buffer, context->buf + context->pos, result); \ - context->pos += result; \ - } \ -} - - -#define YY_INPUT(buffer, result, max_size) get_lex_chars(buffer, result, max_size, PARAM) - -%} - -%option 8bit -%option bison-bridge -%option case-insensitive -%option debug -%option nounput -%option noyywrap -%option outfile="libmemcached/options/scanner.cc" header-file="libmemcached/options/scanner.h" -%option perf-report -%option prefix="config_" -%option reentrant - -%% - - -=|,|[ ] { return yytext[0];} - -[[:digit:]]+ { yylval->number= atoi(yytext); return (NUMBER); } - -:[[:digit:]]{1,5} { yylval->number= atoi(yytext +1); return PORT; } - -"/?"[[:digit:]]{1,5} { yylval->number= atoi(yytext +2); return WEIGHT_START; } - -[\t\r\n] ; /* skip whitespace */ - - -^#.*$ { - return COMMENT; - } - -"--SERVER=" { yyextra->begin= yytext; yyextra->set_server(); return SERVER; } - -"--BINARY-PROTOCOL" { yyextra->begin= yytext; return BINARY_PROTOCOL; } -"--BUFFER-REQUESTS" { yyextra->begin= yytext; return BUFFER_REQUESTS; } -"--CONFIGURE-FILE=" { yyextra->begin= yytext; return CONFIGURE_FILE; } -"--CONNECT-TIMEOUT=" { yyextra->begin= yytext; return CONNECT_TIMEOUT; } -"--DISTRIBUTION=" { yyextra->begin= yytext; return DISTRIBUTION; } -"--HASH-WITH-NAMESPACE" { yyextra->begin= yytext; return HASH_WITH_NAMESPACE; } -"--HASH=" { yyextra->begin= yytext; return HASH; } -"--IO-BYTES-WATERMARK=" { yyextra->begin= yytext; return IO_BYTES_WATERMARK; } -"--IO-KEY-PREFETCH=" { yyextra->begin= yytext; return IO_KEY_PREFETCH; } -"--IO-MSG-WATERMARK=" { yyextra->begin= yytext; return IO_MSG_WATERMARK; } -"--NOREPLY" { yyextra->begin= yytext; return NOREPLY; } -"--NUMBER-OF-REPLICAS=" { yyextra->begin= yytext; return NUMBER_OF_REPLICAS; } -"--POLL-TIMEOUT=" { yyextra->begin= yytext; return POLL_TIMEOUT; } -"--RANDOMIZE-REPLICA-READ" { yyextra->begin= yytext; return RANDOMIZE_REPLICA_READ; } -"--RCV-TIMEOUT=" { yyextra->begin= yytext; return RCV_TIMEOUT; } -"--REMOVE-FAILED-SERVERS=" { yyextra->begin= yytext; return REMOVE_FAILED_SERVERS; } -"--RETRY-TIMEOUT=" { yyextra->begin= yytext; return RETRY_TIMEOUT; } -"--SND-TIMEOUT=" { yyextra->begin= yytext; return SND_TIMEOUT; } -"--SOCKET-RECV-SIZE=" { yyextra->begin= yytext; return SOCKET_RECV_SIZE; } -"--SOCKET-SEND-SIZE=" { yyextra->begin= yytext; return SOCKET_SEND_SIZE; } -"--SORT-HOSTS" { yyextra->begin= yytext; return SORT_HOSTS; } -"--SUPPORT-CAS" { yyextra->begin= yytext; return SUPPORT_CAS; } -"--TCP-KEEPALIVE" { yyextra->begin= yytext; return _TCP_KEEPALIVE; } -"--TCP-KEEPIDLE" { yyextra->begin= yytext; return _TCP_KEEPIDLE; } -"--TCP-NODELAY" { yyextra->begin= yytext; return _TCP_NODELAY; } -"--USE-UDP" { yyextra->begin= yytext; return USE_UDP; } -"--USER-DATA" { yyextra->begin= yytext; return USER_DATA; } -"--VERIFY-KEY" { yyextra->begin= yytext; return VERIFY_KEY; } - -"--POOL-MIN=" { yyextra->begin= yytext; return POOL_MIN; } -"--POOL-MAX=" { yyextra->begin= yytext; return POOL_MAX; } - -"--NAMESPACE=" { yyextra->begin= yytext; return NAMESPACE; } - -INCLUDE { yyextra->begin= yytext; return INCLUDE; } -RESET { yyextra->begin= yytext; return RESET; } -DEBUG { yyextra->begin= yytext; return PARSER_DEBUG; } -SERVERS { yyextra->begin= yytext; return SERVERS; } -END { yyextra->begin= yytext; return END; } -ERROR { yyextra->begin= yytext; return ERROR; } - -TRUE { return TRUE; } -FALSE { return FALSE; } - - -"--"[[:alnum:]]* { - yyextra->begin= yytext; - return UNKNOWN_OPTION; - } - -CONSISTENT { return CONSISTENT; } -MODULA { return MODULA; } -RANDOM { return RANDOM; } - -MD5 { return MD5; } -CRC { return CRC; } -FNV1_64 { return FNV1_64; } -FNV1A_64 { return FNV1A_64; } -FNV1_32 { return FNV1_32; } -FNV1A_32 { return FNV1A_32; } -HSIEH { return HSIEH; } -MURMUR { return MURMUR; } -JENKINS { return JENKINS; } - -(([[:digit:]]{1,3}"."){3}([[:digit:]]{1,3})) { - yylval->server.port= MEMCACHED_DEFAULT_PORT; - yylval->server.weight= 1; - yylval->server.c_str= yyextra->set_hostname(yytext, yyleng); - if (yylval->server.c_str) - yylval->server.size= yyleng; - return IPADDRESS; - } - -[[:alnum:]]["."[:alnum:]_-]+[[:alnum:]] { - if (yyextra->is_server()) - { - yylval->server.port= MEMCACHED_DEFAULT_PORT; - yylval->server.weight= 1; - yylval->server.c_str= yyextra->set_hostname(yytext, yyleng); - if (yylval->server.c_str) - yylval->server.size= yyleng; - - return HOSTNAME; - } - - yylval->string.c_str = yytext; - yylval->string.size = yyleng; - - return STRING; - } - -(\".*\") { - yylval->string.c_str = yytext; - yylval->string.size = yyleng; - return QUOTED_STRING; - } - -. { - yyextra->begin= yytext; - return UNKNOWN; - } - -%% - -void Context::init_scanner() -{ - yylex_init(&scanner); - yyset_extra(this, scanner); -} - -void Context::destroy_scanner() -{ - yylex_destroy(scanner); -} - diff --git a/libmemcached/server.h b/libmemcached/server.h index d4005f89..b04410d6 100644 --- a/libmemcached/server.h +++ b/libmemcached/server.h @@ -118,6 +118,13 @@ LIBMEMCACHED_API memcached_return_t memcached_server_add(memcached_st *ptr, const char *hostname, in_port_t port); +LIBMEMCACHED_LOCAL + memcached_return_t memcached_server_add_parsed(memcached_st *ptr, + const char *hostname, + size_t hostname_length, + in_port_t port, + uint32_t weight); + LIBMEMCACHED_API memcached_return_t memcached_server_add_udp_with_weight(memcached_st *ptr, const char *hostname, diff --git a/support/libmemcached.spec.in b/support/libmemcached.spec.in index 10f9eff3..ae710e9d 100644 --- a/support/libmemcached.spec.in +++ b/support/libmemcached.spec.in @@ -114,10 +114,13 @@ you will need to install %{name}-devel. %{_includedir}/libhashkit/strerror.h %{_includedir}/libhashkit/types.h %{_includedir}/libhashkit/visibility.h +%{_includedir}/libhashkit/hashkit.hpp + %{_includedir}/libmemcached/allocators.h %{_includedir}/libmemcached/analyze.h %{_includedir}/libmemcached/array.h %{_includedir}/libmemcached/auto.h +%{_includedir}/libmemcached/basic_string.h %{_includedir}/libmemcached/behavior.h %{_includedir}/libmemcached/callback.h %{_includedir}/libmemcached/configure.h @@ -146,6 +149,7 @@ you will need to install %{name}-devel. %{_includedir}/libmemcached/protocol_handler.h %{_includedir}/libmemcached/quit.h %{_includedir}/libmemcached/result.h +%{_includedir}/libmemcached/return.h %{_includedir}/libmemcached/sasl.h %{_includedir}/libmemcached/server.h %{_includedir}/libmemcached/server_list.h