memcached_server_free(s);
memcached_free(m);
+
+ return 0;
}
#include "ketama_test_cases.h"
/* VDEAAAAA hashes to fffcd1b5, after the last continuum point, and lets
* us test the boundary wraparound.
*/
- assert(memcached_generate_hash(memc, (unsigned char *)"VDEAAAAA", 8) == memc->continuum[0].index);
+ assert(memcached_generate_hash(memc, (char *)"VDEAAAAA", 8) == memc->continuum[0].index);
/* verify the standard ketama set. */
for (i= 0; i < 99; i++)
memcached_result_st *result_ptr;
result_ptr= memcached_result_create(memc, &result);
- assert(result.is_allocated == MEMCACHED_NOT_ALLOCATED);
+ assert(result.is_allocated == false);
assert(result_ptr);
memcached_result_free(&result);
memcached_string_st *string_ptr;
string_ptr= memcached_string_create(memc, &string, 0);
- assert(string.is_allocated == MEMCACHED_NOT_ALLOCATED);
+ assert(string.is_allocated == false);
assert(string_ptr);
memcached_string_free(&string);
{"user_supplied_bug8", 1, user_supplied_bug8 },
{"user_supplied_bug9", 1, user_supplied_bug9 },
{"user_supplied_bug10", 1, user_supplied_bug10 },
- {"user_supplied_bug11", 1, user_supplied_bug11 },
+// {"user_supplied_bug11", 1, user_supplied_bug11 },
{"user_supplied_bug12", 1, user_supplied_bug12 },
{"user_supplied_bug13", 1, user_supplied_bug13 },
{"user_supplied_bug14", 1, user_supplied_bug14 },