mirror of
https://gitee.com/johng/gf.git
synced 2024-12-01 11:48:09 +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 {
|
||||
c.DB.SetDebug(node.Debug)
|
||||
}
|
||||
if node.Debug {
|
||||
if node.DryRun {
|
||||
c.DB.SetDryRun(node.DryRun)
|
||||
}
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user