aboutsummaryrefslogtreecommitdiff
path: root/src/server/database/Database/MySQLConnection.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2019-03-30 17:48:36 +0100
committerjackpoz <giacomopoz@gmail.com>2019-03-31 17:34:28 +0200
commit1d04a3b216901671eae0104547715a570b1ff3ab (patch)
tree6736646c01e731af453241cb00d4fefbb1086d30 /src/server/database/Database/MySQLConnection.cpp
parent4f1f8983a7f304ec11ab1b1306499b09a6b05369 (diff)
Core/Misc: Fix GCC 8 warnings
Diffstat (limited to 'src/server/database/Database/MySQLConnection.cpp')
-rw-r--r--src/server/database/Database/MySQLConnection.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/database/Database/MySQLConnection.cpp b/src/server/database/Database/MySQLConnection.cpp
index 6022f3b53cc..1943d7ef199 100644
--- a/src/server/database/Database/MySQLConnection.cpp
+++ b/src/server/database/Database/MySQLConnection.cpp
@@ -513,9 +513,8 @@ bool MySQLConnection::_HandleMySQLErrno(uint32 errNo, uint8 attempts /*= 5*/)
mysql_close(GetHandle());
m_Mysql = nullptr;
}
-
- /*no break*/
}
+ /* fallthrough */
case CR_CONN_HOST_ERROR:
{
TC_LOG_INFO("sql.sql", "Attempting to reconnect to the MySQL server...");