diff --git a/include/common/tgrant.h b/include/common/tgrant.h index 03c68ef59b..2fa6dde8f6 100644 --- a/include/common/tgrant.h +++ b/include/common/tgrant.h @@ -32,8 +32,7 @@ extern "C" { #define GRANT_ACTIVE_CODE "activeCode" #define GRANT_FLAG_ALL (0x01) #define GRANT_FLAG_AUDIT (0x02) -#define GRANT_FLAG_CSV (0x04) -#define GRANT_FLAG_VIEW (0x08) +#define GRANT_FLAG_VIEW (0x04) typedef enum { TSDB_GRANT_ALL, diff --git a/include/libs/qcom/query.h b/include/libs/qcom/query.h index 4c33c36d1b..e80268bb5f 100644 --- a/include/libs/qcom/query.h +++ b/include/libs/qcom/query.h @@ -66,8 +66,8 @@ typedef enum { #define QUERY_RSP_POLICY_QUICK 1 #define QUERY_MSG_MASK_SHOW_REWRITE() (1 << 0) -#define QUERY_MSG_MASK_VIEW() (1 << 1) -#define QUERY_MSG_MASK_AUDIT() (1 << 2) +#define QUERY_MSG_MASK_AUDIT() (1 << 1) +#define QUERY_MSG_MASK_VIEW() (1 << 2) #define TEST_SHOW_REWRITE_MASK(m) (((m)&QUERY_MSG_MASK_SHOW_REWRITE()) != 0) #define TEST_VIEW_MASK(m) (((m)&QUERY_MSG_MASK_VIEW()) != 0) #define TEST_AUDIT_MASK(m) (((m)&QUERY_MSG_MASK_AUDIT()) != 0)