提交 6eeb797c 编写于 作者: L lihui

[TBASE-1215]

上级 30773c4e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册