24#ifndef CONNECTION_CONTROL_FAILED_ATTEMPTS_LIST_IMP_H
25#define CONNECTION_CONTROL_FAILED_ATTEMPTS_LIST_IMP_H
28#include <shared_mutex>
50 bool operator()(
const std::string &lhs,
const std::string &rhs)
const {
52 return _stricmp(lhs.c_str(), rhs.c_str()) < 0;
54 return strcasecmp(lhs.c_str(), rhs.c_str()) < 0;
Definition: connection_control_memory.h:41
Definition: failed_attempts_list_imp.h:33
unsigned long long get_failed_attempts_list_count()
Definition: connection_control_pfs_table.cc:73
void reset()
Definition: connection_control_pfs_table.cc:88
bool failed_attempts_undefine(const char *userhost)
Definition: connection_control_pfs_table.cc:53
Connection_control_pfs_table_data * copy_pfs_table_data()
Fetch a copy of the queue data to return to a PFS table.
Definition: connection_control_pfs_table.cc:59
void failed_attempts_define(const char *userhost)
Definition: connection_control_pfs_table.cc:40
std::shared_mutex LOCK_shared_failed_attempts_list
Definition: failed_attempts_list_imp.h:60
unsigned long long get_failed_attempts_count(const char *userhost)
Definition: connection_control_pfs_table.cc:78
std::map< std::string, PSI_ulong, ciLessLibC > failed_attempts_map
Definition: failed_attempts_list_imp.h:58
std::mutex LOCK_failed_attempts_list
Definition: failed_attempts_list_imp.h:59
connection_control::Failed_attempts_list_imp g_failed_attempts_list
Definition: connection_control.cc:50
Definition: connection_control.h:70
std::vector< Connection_control_pfs_table_data_row, CustomAllocator< Connection_control_pfs_table_data_row > > Connection_control_pfs_table_data
Definition: connection_control_pfs_table.h:79
Definition: failed_attempts_list_imp.h:49
bool operator()(const std::string &lhs, const std::string &rhs) const
Definition: failed_attempts_list_imp.h:50