diff --git a/src/system/detail/src/mgmtDb.c b/src/system/detail/src/mgmtDb.c index a005b24779efa60c370b4574e20f4eef4bd233c7..100c353a62bc150a1ad60ce45f96a0fe3e90fd4d 100644 --- a/src/system/detail/src/mgmtDb.c +++ b/src/system/detail/src/mgmtDb.c @@ -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;