Skip to content

Commit

Permalink
add docs to comment
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Feb 9, 2024
1 parent 0a3290e commit 58146a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/vt/sqlparser/comments.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ const (
MaxPriorityValue = 100

// OptimizerHintMaxExecutionTime is the optimizer hint used in MySQL to set the max execution time for a query.
// https://dev.mysql.com/doc/refman/8.0/en/optimizer-hints.html#optimizer-hints-execution-time
OptimizerHintMaxExecutionTime = "MAX_EXECUTION_TIME"

// OptimizerHintSetVar is the optimizer hint used in MySQL to set the value of a specific session variable for a query.
// https://dev.mysql.com/doc/refman/8.0/en/optimizer-hints.html#optimizer-hints-set-var
OptimizerHintSetVar = "SET_VAR"
)

Expand Down

0 comments on commit 58146a2

Please sign in to comment.