Merge branch 'feature/dnode3' of https://github.com/taosdata/TDengine into feature/dnode3
This commit is contained in:
commit
80a7549cba
|
@ -102,6 +102,7 @@ typedef struct {
|
|||
int8_t status;
|
||||
int8_t align[6];
|
||||
} SdbHead;
|
||||
|
||||
typedef struct SClusterObj {
|
||||
SdbHead head;
|
||||
int64_t id;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue