summaryrefslogtreecommitdiff
path: root/sql/sql_reload.cc
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2013-08-23 14:02:13 +0200
committerunknown <knielsen@knielsen-hq.org>2013-08-23 14:02:13 +0200
commitf9c2b402f437a2278b04d971054fcacc57eb07aa (patch)
tree5e5beb8bd8ab697ca05f3c39ecb53fb85ee7f147 /sql/sql_reload.cc
parent62d358295bbf8df16da75dd109c463de796dabe0 (diff)
downloadmariadb-git-f9c2b402f437a2278b04d971054fcacc57eb07aa.tar.gz
MDEV-26: Global transaction ID.
Implement @@gtid_binlog_state. This is the internal state of the binlog (most recent GTID logged for every domain_id and server_id). This allows to save the state before RESET MASTER and restore it afterwards.
Diffstat (limited to 'sql/sql_reload.cc')
-rw-r--r--sql/sql_reload.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_reload.cc b/sql/sql_reload.cc
index e9c9dc86e41..8a05732173d 100644
--- a/sql/sql_reload.cc
+++ b/sql/sql_reload.cc
@@ -322,7 +322,7 @@ bool reload_acl_and_cache(THD *thd, unsigned long options,
{
DBUG_ASSERT(thd);
tmp_write_to_binlog= 0;
- if (reset_master(thd))
+ if (reset_master(thd, NULL, 0))
{
/* NOTE: my_error() has been already called by reset_master(). */
result= 1;