summaryrefslogtreecommitdiff
path: root/sql/rpl_mi.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-02-10 22:39:22 +0200
committerSergei Golubchik <serg@mariadb.org>2017-02-28 16:10:47 +0100
commit6a12c05347beb85a95318568e5f78221bde73b38 (patch)
treebc850d3e3c6374429627e80140d0f1501c0613f0 /sql/rpl_mi.cc
parent84ed5e1d5fe956af818c2f781e9987181d33fc06 (diff)
downloadmariadb-git-6a12c05347beb85a95318568e5f78221bde73b38.tar.gz
Fixed wrong arguments to sql_print_error()
Diffstat (limited to 'sql/rpl_mi.cc')
-rw-r--r--sql/rpl_mi.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/rpl_mi.cc b/sql/rpl_mi.cc
index 8e9fcb85082..59ada30a46d 100644
--- a/sql/rpl_mi.cc
+++ b/sql/rpl_mi.cc
@@ -1032,6 +1032,7 @@ bool Master_info_index::init_all_master_info()
{
/* Master_info already in HASH */
sql_print_error(ER(ER_CONNECTION_ALREADY_EXISTS),
+ (int) connection_name.length, connection_name.str,
(int) connection_name.length, connection_name.str);
mi->unlock_slave_threads();
delete mi;
@@ -1049,6 +1050,7 @@ bool Master_info_index::init_all_master_info()
{
/* Master_info was already registered */
sql_print_error(ER(ER_CONNECTION_ALREADY_EXISTS),
+ (int) connection_name.length, connection_name.str,
(int) connection_name.length, connection_name.str);
mi->unlock_slave_threads();
delete mi;