From ae7fe5f4be46a4a444e3dc1b66b9ddd1e592c305 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 9 Jun 2013 13:41:33 -0500 Subject: [PATCH] fix MySQLTest info calls --- Data/MySQL/testsuite/src/MySQLTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Data/MySQL/testsuite/src/MySQLTest.cpp b/Data/MySQL/testsuite/src/MySQLTest.cpp index 3b05388d2..be54e019f 100644 --- a/Data/MySQL/testsuite/src/MySQLTest.cpp +++ b/Data/MySQL/testsuite/src/MySQLTest.cpp @@ -66,7 +66,7 @@ Poco::SharedPtr MySQLTest::_pExecutor = 0; // Parameters for barebone-test #define MYSQL_USER "root" #define MYSQL_PWD "poco" -#define MYSQL_HOST "192.168.1.25"//"localhost" +#define MYSQL_HOST "localhost" #define MYSQL_PORT 3306 #define MYSQL_DB "test" @@ -97,9 +97,9 @@ MySQLTest::~MySQLTest() void MySQLTest::dbInfo(Session& session) { - std::cout << "Server Info: " << Utility::serverInfo(Utility::handle(session)) << std::endl; - std::cout << "Server Version: " << Utility::serverVersion(Utility::handle(session)) << std::endl; - std::cout << "Host Info: " << Utility::hostInfo(Utility::handle(session)) << std::endl; + std::cout << "Server Info: " << Utility::serverInfo(session) << std::endl; + std::cout << "Server Version: " << Utility::serverVersion(session) << std::endl; + std::cout << "Host Info: " << Utility::hostInfo(session) << std::endl; }