projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merging bzr://gaz.tangent.org/libmemcached/build/ to Build branch
[awesomized/libmemcached]
/
tests
/
libmemcached-1.0
/
setup_and_teardowns.cc
diff --git
a/tests/libmemcached-1.0/setup_and_teardowns.cc
b/tests/libmemcached-1.0/setup_and_teardowns.cc
index 84f57abe2cc85b0c44218fe5d3353a314a4df8e1..093be4906f2b3998c7ce211575dfbbda442939b7 100644
(file)
--- a/
tests/libmemcached-1.0/setup_and_teardowns.cc
+++ b/
tests/libmemcached-1.0/setup_and_teardowns.cc
@@
-44,6
+44,18
@@
#include <sys/stat.h>
#include <sys/stat.h>
+using namespace libtest;
+
+memcached_return_t return_value_based_on_buffering(memcached_st *memc)
+{
+ if (memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_BUFFER_REQUESTS))
+ {
+ return MEMCACHED_BUFFERED;
+ }
+
+ return MEMCACHED_SUCCESS;
+}
+
/**
@note This should be testing to see if the server really supports the binary protocol.
*/
/**
@note This should be testing to see if the server really supports the binary protocol.
*/