summaryrefslogtreecommitdiff
path: root/sql/rpl_mi.cc
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2013-03-27 10:44:28 +0100
committerunknown <knielsen@knielsen-hq.org>2013-03-27 10:44:28 +0100
commite5b60f0add3a05ebe617d5d8ccef22f8e6a16d07 (patch)
tree3af02601cc1b3cb3bae548e534cb8c5584e853eb /sql/rpl_mi.cc
parent20e021115fac345c8c6a9b6c4d6512e0f93f816a (diff)
downloadmariadb-git-e5b60f0add3a05ebe617d5d8ccef22f8e6a16d07.tar.gz
MDEV-26: Global transaction ID.
Fix bug that RESET SLAVE did not reset Using_Gtid back to 0.
Diffstat (limited to 'sql/rpl_mi.cc')
-rw-r--r--sql/rpl_mi.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/rpl_mi.cc b/sql/rpl_mi.cc
index 7ed8b9794ec..fdff61fafec 100644
--- a/sql/rpl_mi.cc
+++ b/sql/rpl_mi.cc
@@ -143,6 +143,7 @@ void init_master_log_pos(Master_info* mi)
mi->master_log_name[0] = 0;
mi->master_log_pos = BIN_LOG_HEADER_SIZE; // skip magic number
+ mi->using_gtid= false;
/* Intentionally init ssl_verify_server_cert to 0, no option available */
mi->ssl_verify_server_cert= 0;