X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fdrizzled.cc;h=3a93b6664817e6131349d88e72ce63b88719dc1b;hb=f0b6a382ea0be4c327f9968cf5d65ac1dd8bdf4c;hp=b8068ac89a310c98629609aec6a2ecfe9af4a366;hpb=cc7f3ad60dd92d7e41e0efbf922bb4f6fc9a848f;p=awesomized%2Flibmemcached diff --git a/libtest/drizzled.cc b/libtest/drizzled.cc index b8068ac8..3a93b666 100644 --- a/libtest/drizzled.cc +++ b/libtest/drizzled.cc @@ -74,11 +74,11 @@ bool ping_drizzled(const in_port_t _port) #if defined(HAVE_LIBDRIZZLE) && HAVE_LIBDRIZZLE if (HAVE_LIBDRIZZLE) { - drizzle_st *drizzle= drizzle_create_tcp(getenv("MYSQL_SERVER"), - getenv("MYSQL_PORT") ? atoi("MYSQL_PORT") : DRIZZLE_DEFAULT_TCP_PORT, - getenv("MYSQL_USER"), - getenv("MYSQL_PASSWORD"), - getenv("MYSQL_SCHEMA"), drizzle_options_t()); + drizzle_st *drizzle= drizzle_create(getenv("MYSQL_SERVER"), + getenv("MYSQL_PORT") ? atoi("MYSQL_PORT") : DRIZZLE_DEFAULT_TCP_PORT, + getenv("MYSQL_USER"), + getenv("MYSQL_PASSWORD"), + getenv("MYSQL_SCHEMA"), 0); if (drizzle == NULL) {