We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6907c03 + 06f160c commit e590770Copy full SHA for e590770
lib/MySQL_Monitor.cpp
@@ -3780,8 +3780,8 @@ void* MySQL_Monitor::monitor_dns_cache() {
3780
if (dns_records_bookkeeping.empty() == false) {
3781
unsigned long long current_time = monotonic_time();
3782
3783
- for (auto itr = dns_records_bookkeeping.cbegin();
3784
- itr != dns_records_bookkeeping.cend();) {
+ for (auto itr = dns_records_bookkeeping.begin();
+ itr != dns_records_bookkeeping.end();) {
3785
// remove orphaned records
3786
if (hostnames.find(itr->hostname_) == hostnames.end()) {
3787
dns_cache->remove(itr->hostname_);
0 commit comments