From dcd2f36c88a7e475784f44df85255c64cd5201a8 Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Fri, 14 Oct 2016 12:53:23 +0200 Subject: [PATCH] removed --time-zone flag --- go/cmd/gh-ost/main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/go/cmd/gh-ost/main.go b/go/cmd/gh-ost/main.go index 96bf865..e61d471 100644 --- a/go/cmd/gh-ost/main.go +++ b/go/cmd/gh-ost/main.go @@ -48,7 +48,6 @@ func main() { flag.IntVar(&migrationContext.InspectorConnectionConfig.Key.Port, "port", 3306, "MySQL port (preferably a replica, not the master)") flag.StringVar(&migrationContext.CliUser, "user", "", "MySQL user") flag.StringVar(&migrationContext.CliPassword, "password", "", "MySQL password") - timeZone := flag.String("time-zone", "", "assume timezone. Default: MySQL server global time zone.") flag.StringVar(&migrationContext.ConfigFile, "conf", "", "Config file") flag.StringVar(&migrationContext.DatabaseName, "database", "", "database name (mandatory)") @@ -205,9 +204,6 @@ func main() { if err := migrationContext.SetCutOverLockTimeoutSeconds(*cutOverLockTimeoutSeconds); err != nil { log.Errore(err) } - if *timeZone != "" { - migrationContext.ApplierTimeZone = *timeZone - } log.Infof("starting gh-ost %+v", AppVersion) acceptSignals(migrationContext)