Fix masking and dwfwfilter compilation
The filters were broken by the merge.
This commit is contained in:
@ -1528,7 +1528,7 @@ int DbfwSession::routeQuery(GWBUF* buffer)
|
||||
if (match && m_instance->get_log_bitmask() & FW_LOG_MATCH)
|
||||
{
|
||||
MXS_NOTICE("[%s] Rule '%s' for '%s' matched by %s@%s: %s",
|
||||
m_session->service->name,
|
||||
m_session->service->name(),
|
||||
rname,
|
||||
suser->name(),
|
||||
user().c_str(),
|
||||
@ -1538,7 +1538,7 @@ int DbfwSession::routeQuery(GWBUF* buffer)
|
||||
else if (!match && m_instance->get_log_bitmask() & FW_LOG_NO_MATCH)
|
||||
{
|
||||
MXS_NOTICE("[%s] Query for '%s' by %s@%s was not matched: %s",
|
||||
m_session->service->name,
|
||||
m_session->service->name(),
|
||||
suser->name(),
|
||||
user().c_str(),
|
||||
remote().c_str(),
|
||||
|
@ -128,5 +128,5 @@ bool MaskingFilterConfig::get_prevent_function_usage(const MXS_CONFIG_PARAMETER*
|
||||
// static
|
||||
bool MaskingFilterConfig::get_check_user_variables(const MXS_CONFIG_PARAMETER* pParams)
|
||||
{
|
||||
return config_get_bool(pParams, check_user_variables_name);
|
||||
return pParams->get_bool(check_user_variables_name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user