Skip to content

Commit

Permalink
fix(dbm-services): 忽略迁移触发器,存储过程导出了数据 #7625
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq authored and zhangzhw8 committed Oct 28, 2024
1 parent c7f5fa2 commit 6148f9f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ func (m *MySQLDumper) getDumpCmd(outputFile, errFile, dumpOption string) (dumpCm
}
case m.DumpSchema:
dumpOption += " -d "
case !m.DumpData && !m.DumpSchema:
dumpOption += " --no-create-info --no-data --no-create-db "
}

if m.AddDropTable {
Expand Down

0 comments on commit 6148f9f

Please sign in to comment.