mirror of
https://gitee.com/johng/gf
synced 2026-07-03 03:39:35 +08:00
fix dryrun configuration for package gdb
This commit is contained in:
@ -490,7 +490,7 @@ func (c *Core) getSqlDb(master bool, schema ...string) (sqlDb *sql.DB, err error
|
||||
if node.Debug {
|
||||
c.DB.SetDebug(node.Debug)
|
||||
}
|
||||
if node.Debug {
|
||||
if node.DryRun {
|
||||
c.DB.SetDryRun(node.DryRun)
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user