projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge in more updates for docs (we are just going to check them all in so that users...
[awesomized/libmemcached]
/
libmemcached
/
dump.c
diff --git
a/libmemcached/dump.c
b/libmemcached/dump.c
index 9ec2dab5982ebbf46bce70dcbc8fa797dc198b48..18c159748bdd1e70d24e5fd78f6fd4ac285cdc3f 100644
(file)
--- a/
libmemcached/dump.c
+++ b/
libmemcached/dump.c
@@
-90,7
+90,16
@@
error:
memcached_return_t memcached_dump(memcached_st *ptr, memcached_dump_fn *callback, void *context, uint32_t number_of_callbacks)
{
memcached_return_t memcached_dump(memcached_st *ptr, memcached_dump_fn *callback, void *context, uint32_t number_of_callbacks)
{
- /* No support for Binary protocol yet */
+ memcached_return_t rc;
+ if ((rc= initialize_query(ptr)) != MEMCACHED_SUCCESS)
+ {
+ return rc;
+ }
+
+ /*
+ No support for Binary protocol yet
+ @todo Fix this so that we just flush, switch to ascii, and then go back to binary.
+ */
if (ptr->flags.binary_protocol)
return MEMCACHED_FAILURE;
if (ptr->flags.binary_protocol)
return MEMCACHED_FAILURE;