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:
@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user