We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ce5c4b commit 943e277Copy full SHA for 943e277
1 file changed
server/ast/aliased_table_expr.go
@@ -158,10 +158,8 @@ func isTrivialSelectStar(s *vitess.Select) bool {
158
len(s.OrderBy) != 0 ||
159
s.Where != nil ||
160
len(s.GroupBy) != 0 ||
161
- s.Having != nil {
162
- return false
163
- }
164
- if len(s.SelectExprs) != 1 {
+ s.Having != nil ||
+ len(s.SelectExprs) != 1 {
165
return false
166
}
167
starExpr, ok := s.SelectExprs[0].(*vitess.StarExpr)
0 commit comments