summaryrefslogtreecommitdiff
path: root/sql/repl_failsafe.cc
diff options
context:
space:
mode:
authordavi@mysql.com/endora.local <>2008-02-28 14:55:46 -0300
committerdavi@mysql.com/endora.local <>2008-02-28 14:55:46 -0300
commit41545137ef9eaf0536cfbfc128e2e732b3908c50 (patch)
tree403f098823cf42179ec9f51f5bd0ccab5fc77112 /sql/repl_failsafe.cc
parent55f0fba46259d74aa178c682830f6a166846d30a (diff)
downloadmariadb-git-41545137ef9eaf0536cfbfc128e2e732b3908c50.tar.gz
Bug#34655 Compile error
Rename client_last_error to last_error and client_last_errno to last_errno to not break connectors which use the internal net structure for error handling.
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r--sql/repl_failsafe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index f8f01d2cad1..a8953217ce1 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -699,7 +699,7 @@ int connect_to_master(THD *thd, MYSQL* mysql, Master_info* mi)
if (!mi->host || !*mi->host) /* empty host */
{
- strmov(mysql->net.client_last_error, "Master is not configured");
+ strmov(mysql->net.last_error, "Master is not configured");
DBUG_RETURN(1);
}
mysql_options(mysql, MYSQL_OPT_CONNECT_TIMEOUT, (char *) &slave_net_timeout);