summaryrefslogtreecommitdiff
path: root/sql/repl_failsafe.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-03-17 13:14:04 +0400
committerunknown <bar@bar.mysql.r18.ru>2003-03-17 13:14:04 +0400
commit3a407e58921ea1f0ce36e7d9b6bd1e7b723346dc (patch)
tree964cdcf2c74b547efa3df764fba458b70cf72286 /sql/repl_failsafe.cc
parent11bd5990630ed03a50ae8b3e586a91a39ca9136b (diff)
downloadmariadb-git-3a407e58921ea1f0ce36e7d9b6bd1e7b723346dc.tar.gz
Preparing to client<->server autoconvert
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r--sql/repl_failsafe.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index 3991d9f21f1..7891ff92236 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -440,7 +440,7 @@ int show_new_master(THD* thd)
if (protocol->send_fields(&field_list, 1))
DBUG_RETURN(-1);
protocol->prepare_for_resend();
- protocol->store(lex_mi->log_file_name);
+ protocol->store(lex_mi->log_file_name, system_charset_info);
protocol->store((ulonglong) lex_mi->pos);
if (protocol->write())
DBUG_RETURN(-1);
@@ -610,11 +610,11 @@ int show_slave_hosts(THD* thd)
SLAVE_INFO* si = (SLAVE_INFO*) hash_element(&slave_list, i);
protocol->prepare_for_resend();
protocol->store((uint32) si->server_id);
- protocol->store(si->host);
+ protocol->store(si->host, system_charset_info);
if (opt_show_slave_auth_info)
{
- protocol->store(si->user);
- protocol->store(si->password);
+ protocol->store(si->user, system_charset_info);
+ protocol->store(si->password, system_charset_info);
}
protocol->store((uint32) si->port);
protocol->store((uint32) si->rpl_recovery_rank);