MXS-1929: Take local filter lists into use

The session creation function now uses the local filter list of the
worker. This also removes the need for the has_filters function.
This commit is contained in:
Markus Mäkelä
2018-08-03 01:25:25 +03:00
parent f59fda0d9f
commit 47176d9bf1
2 changed files with 18 additions and 31 deletions

View File

@ -83,16 +83,6 @@ public:
*/
const FilterList& get_filters() const;
inline bool has_filters() const
{
/**
* Note: Temporarily used to check whether filters are available. This is
* not thread-safe but can be replaced with a check to worker local data to
* make it so.
*/
return !m_filters.empty();
}
/**
* Reload users for all listeners
*