[TBASE-1215]

This commit is contained in:
lihui 2019-11-23 11:59:27 +08:00
parent 30773c4ed2
commit 6eeb797cb3
1 changed files with 1 additions and 1 deletions

View File

@ -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;