*
*/
-#include <config.h>
+#include <mem_config.h>
#include <cstdlib>
#include <climits>
return MEMCACHED_SUCCESS;
}
-static memcached_return_t item_counter(memcached_server_instance_st ,
+static memcached_return_t item_counter(const memcached_instance_st * ,
const char *key, size_t key_length,
const char *value, size_t, // value_length,
void *context)
NULL, 0, // Zero length values
time_t(0), uint32_t(0)));
}
- memcached_quit(memc);
+ //memcached_quit(memc);
uint64_t counter= 0;
test_compare(MEMCACHED_SUCCESS,
test_compare(MEMCACHED_SUCCESS,
memcached_dump(memc, callbacks, &count, 1));
- test_true(count);
+ test_true(count > 0);
return TEST_SUCCESS;
}