mirror of
https://gitee.com/johng/gf.git
synced 2024-12-03 04:37:49 +08:00
fix dryrun configuration for package gdb
This commit is contained in:
parent
6135085d61
commit
ae559b57de
@ -490,7 +490,7 @@ func (c *Core) getSqlDb(master bool, schema ...string) (sqlDb *sql.DB, err error
|
|||||||
if node.Debug {
|
if node.Debug {
|
||||||
c.DB.SetDebug(node.Debug)
|
c.DB.SetDebug(node.Debug)
|
||||||
}
|
}
|
||||||
if node.Debug {
|
if node.DryRun {
|
||||||
c.DB.SetDryRun(node.DryRun)
|
c.DB.SetDryRun(node.DryRun)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user