projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix for connect() to invalidate socket on failure.
[m6w6/libmemcached]
/
tests
/
function.c
diff --git
a/tests/function.c
b/tests/function.c
index db224f952208a64662ccfab7d3535462383bb5d1..f52bf783e15f563da0f764d39f77996216bf6a5e 100644
(file)
--- a/
tests/function.c
+++ b/
tests/function.c
@@
-361,7
+361,6
@@
uint8_t add_test(memcached_st *memc)
rc= memcached_add(memc, key, strlen(key),
value, strlen(value),
(time_t)0, (uint32_t)0);
rc= memcached_add(memc, key, strlen(key),
value, strlen(value),
(time_t)0, (uint32_t)0);
- WATCHPOINT_ERROR(rc);
assert(rc == MEMCACHED_NOTSTORED);
return 0;
assert(rc == MEMCACHED_NOTSTORED);
return 0;
@@
-1523,7
+1522,7
@@
uint8_t user_supplied_bug11(memcached_st *memc)
timeout= -1;
memcached_behavior_set(mclone, MEMCACHED_BEHAVIOR_POLL_TIMEOUT, &timeout);
timeout= -1;
memcached_behavior_set(mclone, MEMCACHED_BEHAVIOR_POLL_TIMEOUT, &timeout);
- timeout= (int32_t)memcached_behavior_get(m
emc
, MEMCACHED_BEHAVIOR_POLL_TIMEOUT);
+ timeout= (int32_t)memcached_behavior_get(m
clone
, MEMCACHED_BEHAVIOR_POLL_TIMEOUT);
assert(timeout == -1);
assert(timeout == -1);
@@
-1535,8
+1534,6
@@
uint8_t user_supplied_bug11(memcached_st *memc)
for (x= 1; x <= 100000; ++x)
{
rc= memcached_set(mclone, key, key_len,value, value_length, 0, 0);
for (x= 1; x <= 100000; ++x)
{
rc= memcached_set(mclone, key, key_len,value, value_length, 0, 0);
-
- WATCHPOINT_IFERROR(rc);
}
free(value);
}
free(value);