com pecl/caching/memcache: add append/prepend support: memcache_binary_protocol.c
| From: | Pierre Joye | Date: | Sun, 13 Oct 2013 14:23:45 +0000 |
| Subject: | com pecl/caching/memcache: add append/prepend support: memcache_binary_protocol.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-19863@lists.php.net to get a copy of this message | ||
Commit: 9a79cf528712e76f2363a6fc051b466b3c893a93
Author: unknown <pajoye@php.net> Sun, 13 Oct 2013 16:23:45 +0200
Parents: f9d3342e7c1daf34515844869f892cc83fa913f9
Branches: nio
Link: http://git.php.net/?p=pecl/caching/memcache.git;a=commitdiff;h=9a79cf528712e76f2363a6fc051b466b3c893a93
Log:
add append/prepend support
Changed paths:
M memcache_binary_protocol.c
Diff:
diff --git a/memcache_binary_protocol.c b/memcache_binary_protocol.c
index c59fec1..0bf57b3 100644
--- a/memcache_binary_protocol.c
+++ b/memcache_binary_protocol.c
@@ -535,7 +535,7 @@ static int mmc_binary_store(
#if 1
if (op == MMC_OP_APPEND || op == MMC_OP_PREPEND) {
mmc_store_append_header_t *header;
- __debugbreak();
+
if (op == MMC_OP_APPEND) {
op = MMC_BIN_OP_APPEND;
} else {