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 status;
|
||||||
int8_t align[6];
|
int8_t align[6];
|
||||||
} SdbHead;
|
} SdbHead;
|
||||||
|
|
||||||
typedef struct SClusterObj {
|
typedef struct SClusterObj {
|
||||||
SdbHead head;
|
SdbHead head;
|
||||||
int64_t id;
|
int64_t id;
|
||||||
|
|
|
@ -30,6 +30,7 @@ static void mnodeCreateDefaultAcct() {
|
||||||
.accessState = TSDB_VN_ALL_ACCCESS};
|
.accessState = TSDB_VN_ALL_ACCCESS};
|
||||||
acctObj.acctId = 1;
|
acctObj.acctId = 1;
|
||||||
acctObj.createdTime = taosGetTimestampMs();
|
acctObj.createdTime = taosGetTimestampMs();
|
||||||
|
acctObj.updateTime = taosGetTimestampMs();
|
||||||
|
|
||||||
sdbInsertRow(MN_SDB_ACCT, &acctObj);
|
sdbInsertRow(MN_SDB_ACCT, &acctObj);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue