From 951c96383c3e5cecbc166065e01c29e480a91cf3 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Mon, 15 May 2017 10:12:36 +0300 Subject: [PATCH] MXS-1196: Sort operation constants --- include/maxscale/query_classifier.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/include/maxscale/query_classifier.h b/include/maxscale/query_classifier.h index 85f0f54e9..d8a0920c5 100644 --- a/include/maxscale/query_classifier.h +++ b/include/maxscale/query_classifier.h @@ -83,18 +83,19 @@ typedef enum qc_query_type typedef enum qc_query_op { QUERY_OP_UNDEFINED = 0, - QUERY_OP_SELECT, - QUERY_OP_UPDATE, - QUERY_OP_INSERT, - QUERY_OP_DELETE, - QUERY_OP_TRUNCATE, + QUERY_OP_ALTER, - QUERY_OP_CREATE, - QUERY_OP_DROP, QUERY_OP_CHANGE_DB, - QUERY_OP_LOAD, + QUERY_OP_CREATE, + QUERY_OP_DELETE, + QUERY_OP_DROP, QUERY_OP_GRANT, - QUERY_OP_REVOKE + QUERY_OP_INSERT, + QUERY_OP_LOAD, + QUERY_OP_REVOKE, + QUERY_OP_SELECT, + QUERY_OP_TRUNCATE, + QUERY_OP_UPDATE, } qc_query_op_t; /**