Fix regression of MXS-1111

The function that was added to detect the commands that should always be
allowed wasn't used.
This commit is contained in:
Markus Mäkelä 2017-02-02 13:50:44 +02:00
parent 13997fc5b9
commit 4ccfc35b00

View File

@ -2384,7 +2384,7 @@ routeQuery(MXS_FILTER *instance, MXS_FILTER_SESSION *session, GWBUF *queue)
}
DBFW_USER *user = find_user_data(thr_users, dcb->user, dcb->remote);
bool query_ok = false;
bool query_ok = command_is_mandatory(queue);
if (user)
{