Fix mqfilter build failure
It called an internal session function for no real reason.
This commit is contained in:
@ -974,8 +974,7 @@ routeQuery(MXS_FILTER *instance, MXS_FILTER_SESSION *session, GWBUF *queue)
|
|||||||
|
|
||||||
if (my_instance->trgtype & TRG_SOURCE && my_instance->src_trg)
|
if (my_instance->trgtype & TRG_SOURCE && my_instance->src_trg)
|
||||||
{
|
{
|
||||||
if (session_isvalid(my_session->session))
|
|
||||||
{
|
|
||||||
sessusr = session_get_user(my_session->session);
|
sessusr = session_get_user(my_session->session);
|
||||||
sesshost = session_get_remote(my_session->session);
|
sesshost = session_get_remote(my_session->session);
|
||||||
|
|
||||||
@ -1011,7 +1010,6 @@ routeQuery(MXS_FILTER *instance, MXS_FILTER_SESSION *session, GWBUF *queue)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (src_ok && !my_instance->strict_logging)
|
if (src_ok && !my_instance->strict_logging)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user