Hash algo was not being copied. andre@cabine.org discovered this.
author <brian@h220-215-226-164.catv02.itscom.jp> <>
Tue, 4 Dec 2007 19:52:46 +0000 (04:52 +0900)
committer <brian@h220-215-226-164.catv02.itscom.jp> <>
Tue, 4 Dec 2007 19:52:46 +0000 (04:52 +0900)
lib/memcached.c

index 5e189cdae20764078aa53be6982e7b98f09f709d..9ee49d665f38338e0024301f3a366f82e74247df 100644 (file)
@@ -81,6 +81,7 @@ memcached_st *memcached_clone(memcached_st *clone, memcached_st *ptr)
   new_clone->recv_size= ptr->recv_size;
   new_clone->poll_timeout= ptr->poll_timeout;
   new_clone->distribution= ptr->distribution;
+  new_clone->hash= ptr->hash;
 
   return new_clone;
 }