优化数据库相关代码

This commit is contained in:
GoEdgeLab
2022-04-08 14:15:45 +08:00
parent c12c9b08f7
commit 35d4a8e365
10 changed files with 99 additions and 16 deletions

View File

@@ -237,7 +237,7 @@ func (this *DBNodeInitializer) loop() error {
}
if db == nil {
config := &dbs.DBConfig{
var config = &dbs.DBConfig{
Driver: "mysql",
Dsn: dsn,
Prefix: "edge",