Skip to content

Commit

Permalink
sql: fix minor typo in plan_opt.go
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
mgartner committed Aug 22, 2024
1 parent bdda987 commit 2d0ea24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/plan_opt.go
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ func (opc *optPlanningCtx) makeQueryIndexRecommendation(
// Save the normalized memo created by the optbuilder.
savedMemo := opc.optimizer.DetachMemo(ctx)

// Use the optimizer to fully normalize the memo. We need to do this before
// Use the optimizer to fully optimize the memo. We need to do this before
// finding index candidates because the *memo.SortExpr from the sort enforcer
// is only added to the memo in this step. The sort expression is required to
// determine certain index candidates.
Expand Down

0 comments on commit 2d0ea24

Please sign in to comment.