mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-29 21:22:11 +01:00
fix MySQLTest info calls
This commit is contained in:
parent
83ed03d4ad
commit
ae7fe5f4be
@ -66,7 +66,7 @@ Poco::SharedPtr<SQLExecutor> 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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user