diff --git a/src/inc/taosmsg.h b/src/inc/taosmsg.h index 3cc95145754149ba36e4fe3733d3ce35482f86e5..1198097895c4dc2939b0405decb56439d9822527 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 f33a2664b57252522d5032c2e84332a70c48196e..2baf28f88f9b51cae7e1159a2bd9446217adbdcd 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;