summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2022-06-02 19:02:01 +0300
committerSergei Petrunia <sergey@mariadb.com>2022-06-07 20:43:10 +0300
commite240e8d0629e1a7e9f2c50d5eac81de590a766c4 (patch)
tree2daa842c6a0cf1535db3edf9f97a30372bbcab0b /sql/slave.cc
parent9e6fd2995b2276aa50b2433e475cfe46dfd2bc2c (diff)
downloadmariadb-git-e240e8d0629e1a7e9f2c50d5eac81de590a766c4.tar.gz
removed some compiler warnings
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 7f7f121db7e..8818029d444 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -6718,7 +6718,7 @@ static int queue_event(Master_info* mi, const uchar *buf, ulong event_len)
can be satisfied only with the strict mode that ensures
against "genuine" gtid duplicates.
*/
- rpl_gtid *gtid_in_slave_state=
+ rpl_gtid *gtid_in_slave_state __attribute__((unused))=
mi->gtid_current_pos.find(mi->last_queued_gtid.domain_id);
// Slave gtid state must not have updated yet to the last received gtid.