From 00b058aca3ab48e15c056d689ced936b8c71ea64 Mon Sep 17 00:00:00 2001 From: Teemu Ollakka Date: Thu, 1 Oct 2015 17:05:48 +0300 Subject: [PATCH] refs codership/mysql-wsrep#202 Added schema info into wsrep messages Added schema info to wsrep messages above debug level. --- sql/sp.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sql/sp.cc b/sql/sp.cc index 4a0e890e0cb..c247101ca7f 100644 --- a/sql/sp.cc +++ b/sql/sp.cc @@ -2301,11 +2301,11 @@ int wsrep_create_sp(THD *thd, uchar** buf, size_t* buf_len) sp->m_chistics, &(thd->lex->definer->user), &(thd->lex->definer->host), saved_mode)) - { - WSREP_WARN("SP create string failed: schema: %s, query: %s", - (thd->db ? thd->db : "(null)"), thd->query()); - return 1; - } + { + WSREP_WARN("SP create string failed: schema: %s, query: %s", + (thd->db ? thd->db : "(null)"), thd->query()); + return 1; + } return wsrep_to_buf_helper(thd, log_query.ptr(), log_query.length(), buf, buf_len); } #endif /* WITH_WSREP */