Core/Misc: Fixed a bunch of issues found by static analysis
This commit is contained in:
1 parent
4f43584af8
commit
8be181c7e6
12 files changed
+239
-219
No files matched your search
@@ -84,8 +84,10 @@ bool MySQLConnection::Open()
|
||||
|
||||
int port;
|
||||
char const* unix_socket;
|
||||
unsigned int timeout = 10;
|
||||
|
||||
mysql_options(mysqlInit, MYSQL_SET_CHARSET_NAME, "utf8");
|
||||
mysql_options(mysqlInit, MYSQL_OPT_READ_TIMEOUT, (char const*)&timeout);
|
||||
#ifdef _WIN32
|
||||
if (m_connectionInfo.host == ".") // named pipe use option (Windows)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user