From 1575e61441338fe5733244459b19a87d4bc23a72 Mon Sep 17 00:00:00 2001 From: liu0x54 Date: Wed, 6 May 2020 06:01:00 +0000 Subject: [PATCH] [TD-154] modify the SUserObj fields position --- src/system/detail/inc/mgmt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/detail/inc/mgmt.h b/src/system/detail/inc/mgmt.h index 219cb99531..232d2e6256 100644 --- a/src/system/detail/inc/mgmt.h +++ b/src/system/detail/inc/mgmt.h @@ -172,12 +172,12 @@ typedef struct _user_obj { char pass[TSDB_KEY_LEN]; char acct[TSDB_USER_LEN]; int64_t createdTime; - int32_t authAllowTime; - int16_t authFailCount; char superAuth : 1; char writeAuth : 1; char reserved[16]; char updateEnd[1]; + int32_t authAllowTime; + int16_t authFailCount; struct _user_obj *prev, *next; } SUserObj; -- GitLab