Merge pull request #765 from taosdata/feature/slguan

rollback storage structure modification
This commit is contained in:
haojun Liao 2019-11-23 13:56:33 +08:00 committed by GitHub
commit 91cd701d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -146,7 +146,10 @@ typedef struct _vg_obj {
} SVgObj; } SVgObj;
typedef struct _db_obj { typedef struct _db_obj {
char name[TSDB_METER_ID_LEN + 1]; /*
* this length will cause the storage structure to change, rollback
*/
char name[TSDB_DB_NAME_LEN + 1];
int64_t createdTime; int64_t createdTime;
SDbCfg cfg; SDbCfg cfg;
int32_t numOfVgroups; int32_t numOfVgroups;