From ab4ac8e58868a79c8c869afa8a52c21b2044db28 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 7 Oct 2020 09:06:27 +0300 Subject: [PATCH] MXS-3200 Log mapping error as it will lead to session close --- server/modules/routing/schemarouter/schemaroutersession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/routing/schemarouter/schemaroutersession.cc b/server/modules/routing/schemarouter/schemaroutersession.cc index e9f129d92..8a6cf41aa 100644 --- a/server/modules/routing/schemarouter/schemaroutersession.cc +++ b/server/modules/routing/schemarouter/schemaroutersession.cc @@ -1268,7 +1268,7 @@ enum showdb_response SchemaRouterSession::parse_mapping_response(SSRBackend& bre if (PTR_IS_ERR(ptr)) { - MXS_INFO("Mapping query returned an error."); + MXS_ERROR("Mapping query returned an error; closing session."); gwbuf_free(buf); return SHOWDB_FATAL_ERROR; }