projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
d5ffc30
)
Found issue with rollback for clone operation with prefix key.
author
Brian Aker
<brian@tangent.org>
Wed, 21 May 2008 01:46:07 +0000
(18:46 -0700)
committer
Brian Aker
<brian@tangent.org>
Wed, 21 May 2008 01:46:07 +0000
(18:46 -0700)
libmemcached/memcached.c
patch
|
blob
|
history
diff --git
a/libmemcached/memcached.c
b/libmemcached/memcached.c
index 74e75706875451277f9971a9a163d97155a54d8e..f6d71d592eefd34f5b136bf3939250bb32aa4407 100644
(file)
--- a/
libmemcached/memcached.c
+++ b/
libmemcached/memcached.c
@@
-122,7
+122,10
@@
memcached_st *memcached_clone(memcached_st *clone, memcached_st *ptr)
new_clone->delete_trigger= ptr->delete_trigger;
if (ptr->prefix_key[0] != 0)
+ {
strcpy(new_clone->prefix_key, ptr->prefix_key);
+ new_clone->prefix_key_length= ptr->prefix_key_length;
+ }
rc= run_distribution(new_clone);
if (rc != MEMCACHED_SUCCESS)