Skip to content

Commit

Permalink
refactor(dbm-services): mysql本地升级代码优化 TencentBlueKing#7937
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq committed Nov 14, 2024
1 parent 57b17cd commit 34672e8
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -599,10 +599,9 @@ func (m MysqlUpgradeComp) mysqlUpgrade(conn *native.DbWorker, port int) (err err
return nil
}
// open general_log
// if err = m.openGeneralLog(conn); err != nil {
// logger.Error("set global general_log=on failed %s", err.Error())
// return err
// }
if errx := m.openGeneralLog(conn); err != nil {
logger.Warn("set global general_log=on failed %s", errx.Error())
}
upgradeScript := ""
switch {
case m.newVersion.TmysqlVersion > native.TMYSQL_1P2 && m.newVersion.TmysqlVersion < native.TMYSQL_2:
Expand Down

0 comments on commit 34672e8

Please sign in to comment.