Fix merge issues
This commit is contained in:
parent
e7981c9d67
commit
9ba06f7c07
@ -172,14 +172,12 @@ void MaskingFilter::reload(DCB* pOut)
|
||||
}
|
||||
|
||||
// static
|
||||
bool MaskingFilter::process_params(char **pzOptions, CONFIG_PARAMETER *ppParams, Config& config)
|
||||
bool MaskingFilter::process_params(char **pzOptions, CONFIG_PARAMETER *pParams, Config& config)
|
||||
{
|
||||
bool error = false;
|
||||
|
||||
for (int i = 0; ppParams[i]; ++i)
|
||||
for (const CONFIG_PARAMETER* pParam = pParams; pParam; pParam = pParam->next)
|
||||
{
|
||||
const FILTER_PARAMETER *pParam = ppParams[i];
|
||||
|
||||
if (strcmp(pParam->name, "rules_file") == 0)
|
||||
{
|
||||
string rules_file;
|
||||
|
@ -123,7 +123,7 @@ void MaskingFilterSession::handle_field(GWBUF* pPacket)
|
||||
|
||||
ComQueryResponse::ColumnDef column_def(pPacket);
|
||||
|
||||
const char *zUser = session_getUser(m_pSession);
|
||||
const char *zUser = session_get_user(m_pSession);
|
||||
const char *zHost = session_get_remote(m_pSession);
|
||||
|
||||
if (!zUser)
|
||||
|
Loading…
x
Reference in New Issue
Block a user