Skip to content

Commit 6a12c05

Browse files
montywivuvova
authored andcommitted
Fixed wrong arguments to sql_print_error()
1 parent 84ed5e1 commit 6a12c05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/rpl_mi.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,7 @@ bool Master_info_index::init_all_master_info()
10321032
{
10331033
/* Master_info already in HASH */
10341034
sql_print_error(ER(ER_CONNECTION_ALREADY_EXISTS),
1035+
(int) connection_name.length, connection_name.str,
10351036
(int) connection_name.length, connection_name.str);
10361037
mi->unlock_slave_threads();
10371038
delete mi;
@@ -1049,6 +1050,7 @@ bool Master_info_index::init_all_master_info()
10491050
{
10501051
/* Master_info was already registered */
10511052
sql_print_error(ER(ER_CONNECTION_ALREADY_EXISTS),
1053+
(int) connection_name.length, connection_name.str,
10521054
(int) connection_name.length, connection_name.str);
10531055
mi->unlock_slave_threads();
10541056
delete mi;

0 commit comments

Comments
 (0)