Fix exists.
[m6w6/libmemcached] / tests / failure.cc
index d31518ee137d8f2151bda7ece605451ea4a43c5c..016ea5e445e12b84ff12945a482d08049ad565c4 100644 (file)
@@ -98,6 +98,7 @@ static test_return_t restart_servers(memcached_st *)
   return TEST_SUCCESS;
 }
 
+#include "libmemcached/instance.h"
 static test_return_t cull_TEST(memcached_st *memc)
 {
   uint32_t count= memcached_server_count(memc);
@@ -213,10 +214,10 @@ void get_world(Framework *world)
 {
   world->servers().set_servers_to_run(1);
 
-  world->collections= collection;
+  world->collections(collection);
 
-  world->_create= (test_callback_create_fn*)world_create;
-  world->_destroy= (test_callback_destroy_fn*)world_destroy;
+  world->create((test_callback_create_fn*)world_create);
+  world->destroy((test_callback_destroy_fn*)world_destroy);
 
   world->set_runner(new LibmemcachedRunner);