Merge branch 'feature/dnode3' of https://github.com/taosdata/TDengine into feature/dnode3

This commit is contained in:
Shengliang Guan 2021-10-17 22:31:22 +08:00
commit 80a7549cba
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ typedef struct {
int8_t status;
int8_t align[6];
} SdbHead;
typedef struct SClusterObj {
SdbHead head;
int64_t id;

View File

@ -30,6 +30,7 @@ static void mnodeCreateDefaultAcct() {
.accessState = TSDB_VN_ALL_ACCCESS};
acctObj.acctId = 1;
acctObj.createdTime = taosGetTimestampMs();
acctObj.updateTime = taosGetTimestampMs();
sdbInsertRow(MN_SDB_ACCT, &acctObj);
}