Merge pull request #2240 from taosdata/hotfix/td-320

fix compile error
This commit is contained in:
Shengliang Guan 2020-06-11 14:07:36 +08:00 committed by GitHub
commit fa8cdb6f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;