From e327282e82754c69ccddabf930e4ba62f45565ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Tue, 10 Apr 2018 21:39:17 +0300 Subject: [PATCH] Don't log warnings for valid SQL The warnings are about what the parser expects, not something the end user should know. --- server/core/internal/trxboundaryparser.hh | 2 +- server/modules/protocol/MySQL/mariadbclient/setsqlmodeparser.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/core/internal/trxboundaryparser.hh b/server/core/internal/trxboundaryparser.hh index 8dc3310db..3bfc00fd1 100644 --- a/server/core/internal/trxboundaryparser.hh +++ b/server/core/internal/trxboundaryparser.hh @@ -607,7 +607,7 @@ private: if (m_pI != m_pEnd) { - MXS_WARNING("Non-space data found after semi-colon: '%.*s'.", + MXS_INFO("Non-space data found after semi-colon: '%.*s'.", (int)(m_pEnd - m_pI), m_pI); } diff --git a/server/modules/protocol/MySQL/mariadbclient/setsqlmodeparser.hh b/server/modules/protocol/MySQL/mariadbclient/setsqlmodeparser.hh index 73f63e711..f0400584d 100644 --- a/server/modules/protocol/MySQL/mariadbclient/setsqlmodeparser.hh +++ b/server/modules/protocol/MySQL/mariadbclient/setsqlmodeparser.hh @@ -562,7 +562,7 @@ private: if (m_pI != m_pEnd) { - MXS_WARNING("Non-space data found after semi-colon: '%.*s'.", + MXS_INFO("Non-space data found after semi-colon: '%.*s'.", (int)(m_pEnd - m_pI), m_pI); }