summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorunknown <Dao-Gang.Qu@sun.com>2009-07-17 13:07:43 +0800
committerunknown <Dao-Gang.Qu@sun.com>2009-07-17 13:07:43 +0800
commit744bae11342a26d5cf22443e5dcaca2113ad25e5 (patch)
tree566435e8aee6ae010eab5a36c8c91778b0bb77d9 /sql/slave.cc
parentd812f4a218ada76e19c8ee1e8911cfa4bae4b43d (diff)
downloadmariadb-git-744bae11342a26d5cf22443e5dcaca2113ad25e5.tar.gz
Bug #45214 get_master_version_and_clock does not report error when queries fail
Append the patch for resolving the problems, which have been brought by commiting bug#45214.
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 10014b083d8..83a4d8c73d1 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -906,7 +906,6 @@ static int get_master_version_and_clock(MYSQL* mysql, Master_info* mi)
MYSQL_RES *master_res= 0;
MYSQL_ROW master_row;
DBUG_ENTER("get_master_version_and_clock");
- int query_re= 0;
/*
Free old description_event_for_queue (that is needed if we are in