Skip to content

Commit

Permalink
rm unused validateAndReadTimeZone func
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Dec 9, 2023
1 parent 3a16db3 commit 13b4683
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions go/logic/applier.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,6 @@ func (this *Applier) InitDBConnections() (err error) {
return nil
}

// validateAndReadTimeZone potentially reads server time-zone
func (this *Applier) validateAndReadTimeZone() error {
this.migrationContext.Log.Infof("will use time_zone='%s' on applier", this.ServerInfo().TimeZone)
return nil
}

// generateSqlModeQuery return a `sql_mode = ...` query, to be wrapped with a `set session` or `set global`,
// based on gh-ost configuration:
// - User may skip strict mode
Expand Down

0 comments on commit 13b4683

Please sign in to comment.