mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
refs codership/mysql-wsrep#202 Added schema info into wsrep messages
Added schema info to wsrep messages above debug level.
This commit is contained in:
committed by
Nirbhay Choubey
parent
7ce84cf764
commit
00b058aca3
10
sql/sp.cc
10
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),
|
sp->m_chistics, &(thd->lex->definer->user),
|
||||||
&(thd->lex->definer->host),
|
&(thd->lex->definer->host),
|
||||||
saved_mode))
|
saved_mode))
|
||||||
{
|
{
|
||||||
WSREP_WARN("SP create string failed: schema: %s, query: %s",
|
WSREP_WARN("SP create string failed: schema: %s, query: %s",
|
||||||
(thd->db ? thd->db : "(null)"), thd->query());
|
(thd->db ? thd->db : "(null)"), thd->query());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return wsrep_to_buf_helper(thd, log_query.ptr(), log_query.length(), buf, buf_len);
|
return wsrep_to_buf_helper(thd, log_query.ptr(), log_query.length(), buf, buf_len);
|
||||||
}
|
}
|
||||||
#endif /* WITH_WSREP */
|
#endif /* WITH_WSREP */
|
||||||
|
Reference in New Issue
Block a user