diff --git a/go/vt/sqlparser/analyzer.go b/go/vt/sqlparser/analyzer.go index 8d0c62fc2d1..27eaab393e8 100644 --- a/go/vt/sqlparser/analyzer.go +++ b/go/vt/sqlparser/analyzer.go @@ -130,7 +130,7 @@ func CachePlan(stmt Statement) bool { return false } -//MustRewriteAST takes Statement and returns if the statement is set statement. +//MustRewriteAST takes Statement and returns true if RewriteAST must run on it for correct execution irrespective of user flags. func MustRewriteAST(stmt Statement) bool { switch node := stmt.(type) { case *Set: