summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-06-07 15:55:32 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-06-07 15:55:32 +0300
commitea1fbd0326f7df830896e10f5a469de78e278307 (patch)
tree63be5f4eeda2afcc11de026c63d37e992296e9f0 /sql/slave.cc
parent96f4b4a55b449a29af7e4b70bebf0ff238ae7f80 (diff)
parent392e744aec9e52802e7317f8c7f9b52019026ab9 (diff)
downloadmariadb-git-ea1fbd0326f7df830896e10f5a469de78e278307.tar.gz
Merge 10.3 into 10.4
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 34324a3f2a2..f883b13e7b5 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -1,5 +1,5 @@
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates.
- Copyright (c) 2009, 2020, MariaDB Corporation.
+ Copyright (c) 2009, 2022, MariaDB Corporation
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -6628,8 +6628,8 @@ static int queue_event(Master_info* mi,const char* buf, ulong event_len)
can be satisfied only with the strict mode that ensures
against "genuine" gtid duplicates.
*/
- rpl_gtid *gtid_in_slave_state=
- mi->gtid_current_pos.find(mi->last_queued_gtid.domain_id);
+ IF_DBUG(rpl_gtid *gtid_in_slave_state=
+ mi->gtid_current_pos.find(mi->last_queued_gtid.domain_id),);
// Slave gtid state must not have updated yet to the last received gtid.
DBUG_ASSERT((mi->using_gtid == Master_info::USE_GTID_NO ||