chore: more code

This commit is contained in:
kailixu 2023-04-09 19:01:51 +08:00
parent 7eb7cb7263
commit e689356c65
2 changed files with 5 additions and 9 deletions

View File

@ -705,12 +705,13 @@ int32_t tSerializeSGetUserAuthRsp(void* buf, int32_t bufLen, SGetUserAuthRsp* pR
int32_t tDeserializeSGetUserAuthRsp(void* buf, int32_t bufLen, SGetUserAuthRsp* pRsp);
void tFreeSGetUserAuthRsp(SGetUserAuthRsp* pRsp);
typedef SGetUserAuthReq SGetUserPassReq;
typedef struct {
typedef struct SUserPassVersion {
char user[TSDB_USER_LEN];
int32_t version;
} SGetUserPassRsp;
} SUserPassVersion;
typedef SGetUserAuthReq SGetUserPassReq;
typedef SUserPassVersion SGetUserPassRsp;
/*
* for client side struct, only column id, type, bytes are necessary

View File

@ -140,11 +140,6 @@ typedef struct SUserAuthVersion {
int32_t version;
} SUserAuthVersion;
typedef struct SUserPassVersion {
char user[TSDB_USER_LEN];
int32_t version;
} SUserPassVersion;
typedef SDbCfgRsp SDbCfgInfo;
typedef SUserIndexRsp SIndexInfo;