fix dryrun configuration for package gdb

This commit is contained in:
John Guo 2021-02-03 22:46:59 +08:00
parent 6135085d61
commit ae559b57de

View File

@ -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