Skip to content

Commit

Permalink
boost: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
benetis committed Mar 27, 2024
1 parent 75f3099 commit fa63dac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion go/vt/vtgate/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ func (e *Executor) getPlan(vcursor *vcursorImpl, sql string, comments sqlparser.
statement = result.AST
bindVarNeeds = result.BindVarNeeds
query = sqlparser.String(statement)
boostPlanConfig = configForBoost(result.Columns, "x")
boostPlanConfig = configForBoost(result.Columns, "<TODO>")
}

if logStats != nil {
Expand Down Expand Up @@ -1242,6 +1242,7 @@ func (e *Executor) getPlan(vcursor *vcursorImpl, sql string, comments sqlparser.
return plan, nil
}

// TODO
func configForBoost(columns boost.Columns, table string) *boost.PlanConfig {
configColumns := map[string]string{
"user_id": "1337",
Expand Down

0 comments on commit fa63dac

Please sign in to comment.