diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2014-06-10 22:20:33 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2014-06-10 22:20:33 +0400 |
commit | 7832f1bb62f8f657f064d6184e4aba4d568a77a6 (patch) | |
tree | 7809c95b6650c7dbd814b9736d3bce8176e3af86 /sql/rpl_gtid.cc | |
parent | 55b010233a2d897ac8bc7aee0f136f2794814455 (diff) | |
download | mariadb-git-7832f1bb62f8f657f064d6184e4aba4d568a77a6.tar.gz |
MDEV-6314 - Compile/run MariaDB with ASan
Fixed some compilation errors/warnings with ASan.
Diffstat (limited to 'sql/rpl_gtid.cc')
-rw-r--r-- | sql/rpl_gtid.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/rpl_gtid.cc b/sql/rpl_gtid.cc index 105bdad6f97..e480e01874b 100644 --- a/sql/rpl_gtid.cc +++ b/sql/rpl_gtid.cc @@ -120,7 +120,7 @@ rpl_slave_state::check_duplicate_gtid(rpl_gtid *gtid, rpl_group_info *rgi) uint32 seq_no= gtid->seq_no; rpl_slave_state::element *elem; int res; - bool did_enter_cond; + bool did_enter_cond= false; PSI_stage_info old_stage; THD *thd; Relay_log_info *rli= rgi->rli; @@ -138,7 +138,6 @@ rpl_slave_state::check_duplicate_gtid(rpl_gtid *gtid, rpl_group_info *rgi) each lock release and re-take. */ - did_enter_cond= false; for (;;) { if (elem->highest_seq_no >= seq_no) |