Reverted part of 8be181c7e6 that was not supposed to be pushed

This commit is contained in:
Shauren
2013-05-18 11:49:46 +02:00
parent 612ead5094
commit d6709ed610

View File

@@ -84,10 +84,10 @@ bool MySQLConnection::Open()
int port;
char const* unix_socket;
unsigned int timeout = 10;
//unsigned int timeout = 10;
mysql_options(mysqlInit, MYSQL_SET_CHARSET_NAME, "utf8");
mysql_options(mysqlInit, MYSQL_OPT_READ_TIMEOUT, (char const*)&timeout);
//mysql_options(mysqlInit, MYSQL_OPT_READ_TIMEOUT, (char const*)&timeout);
#ifdef _WIN32
if (m_connectionInfo.host == ".") // named pipe use option (Windows)
{