[TBASE-1215]
This commit is contained in:
parent
30773c4ed2
commit
6eeb797cb3
|
@ -256,7 +256,7 @@ int mgmtCreateDb(SAcctObj *pAcct, SCreateDbMsg *pCreate) {
|
|||
|
||||
pDb = malloc(sizeof(SDbObj));
|
||||
memset(pDb, 0, sizeof(SDbObj));
|
||||
sprintf(pDb->name, "%s.%s", pAcct->acctId, pCreate->db); // set fullname
|
||||
sprintf(pDb->name, "%d.%s", pAcct->acctId, pCreate->db); // set fullname
|
||||
strcpy(pCreate->acct, pAcct->user);
|
||||
pDb->createdTime = taosGetTimestampMs();
|
||||
pDb->cfg = *pCreate;
|
||||
|
|
Loading…
Reference in New Issue