Skip to content

Commit

Permalink
Update go/logic/applier.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
cyrinux and timvaillancourt authored Dec 27, 2022
1 parent 71df3e8 commit 9f305b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/logic/applier.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (this *Applier) setOptimizer(tx *gosql.Tx) error {
if this.migrationContext.OptimizerSwitch == "" {
return nil
}
optimizerString := fmt.Sprintf("set session optimizer_switch=%q", this.migrationContext.OptimizerSwitch)
optimizerString := fmt.Sprintf("SET SESSION optimizer_switch=%q", this.migrationContext.OptimizerSwitch)
_, err := tx.Query(optimizerString)
return err
}
Expand Down

0 comments on commit 9f305b7

Please sign in to comment.