Fix mqfilter build failure

It called an internal session function for no real reason.
This commit is contained in:
Markus Mäkelä
2017-01-20 09:09:56 +02:00
parent 5a2a69b7be
commit ffc68a688f

View File

@ -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 (session_isvalid(my_session->session))
{
sessusr = session_get_user(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)
{