From a1663508c37e19051381cb8c31b4f4557cb073b0 Mon Sep 17 00:00:00 2001 From: Bomin Zhang Date: Thu, 11 Jun 2020 14:04:50 +0800 Subject: [PATCH] fix compile error --- src/inc/taosmsg.h | 2 +- src/mnode/inc/mnodeDef.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inc/taosmsg.h b/src/inc/taosmsg.h index 3cc9514575..1198097895 100644 --- a/src/inc/taosmsg.h +++ b/src/inc/taosmsg.h @@ -501,7 +501,7 @@ typedef struct { } SVnodeLoad; typedef struct { - char db[TSDB_USERID_LEN + TSDB_DB_NAME_LEN]; + char db[TSDB_ACCT_LEN + TSDB_DB_NAME_LEN]; int32_t cacheBlockSize; //MB int32_t totalBlocks; int32_t maxTables; diff --git a/src/mnode/inc/mnodeDef.h b/src/mnode/inc/mnodeDef.h index f33a2664b5..2baf28f88f 100644 --- a/src/mnode/inc/mnodeDef.h +++ b/src/mnode/inc/mnodeDef.h @@ -154,7 +154,7 @@ typedef struct { } SDbCfg; typedef struct SDbObj { - char name[TSDB_USERID_LEN + TSDB_DB_NAME_LEN]; + char name[TSDB_ACCT_LEN + TSDB_DB_NAME_LEN]; char acct[TSDB_USER_LEN]; int64_t createdTime; int32_t cfgVersion; -- GitLab