提交 d742ca85 编写于 作者: L liipx

update temp database name format

上级 c67cbe5e
......@@ -294,8 +294,8 @@ func (ve VirtualEnv) createDatabase(rEnv database.Connector, dbName string) erro
return nil
}
// optimizer_YYMMDD_xxxx
dbHash := fmt.Sprintf("optimizer_%s_%s", time.Now().Format("060102"), uniuri.New())
// optimizer_YYMMDDHHmmss_xxxx
dbHash := fmt.Sprintf("optimizer_%s_%s", time.Now().Format("060102150405"), uniuri.New())
common.Log.Debug("createDatabase, mapping `%s` :`%s`-->`%s`", dbName, dbName, dbHash)
ddl, err := rEnv.ShowCreateDatabase(dbName)
if err != nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册