projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
04e4d81
)
Try to find error in string
author
Brian Aker
<brian@tangent.org>
Tue, 6 Aug 2013 10:40:53 +0000
(06:40 -0400)
committer
Brian Aker
<brian@tangent.org>
Tue, 6 Aug 2013 10:40:53 +0000
(06:40 -0400)
tests/libmemcached-1.0/plus.cpp
patch
|
blob
|
history
diff --git
a/tests/libmemcached-1.0/plus.cpp
b/tests/libmemcached-1.0/plus.cpp
index 145f979765a0612870fb00dcd97cb34d585cb3bd..5897dcb71338d6b81d9df67c5ea63181fda61814 100644
(file)
--- a/
tests/libmemcached-1.0/plus.cpp
+++ b/
tests/libmemcached-1.0/plus.cpp
@@
-181,6
+181,13
@@
static test_return_t mget_test(memcached_st *original)
vector<char> return_value;
/* We need to empty the server before we continue the test */
+ bool flush_res= memc.flush();
+ if (flush_res == false)
+ {
+ std::string error_string;
+ ASSERT_TRUE(memc.error(error_string));
+ Error << error_string;
+ }
test_true(memc.flush());
test_true(memc.mget(keys));