Commit 36f409c
sqlparser: reject unqualified * after comma in SELECT list
MySQL only allows unqualified `*` as the first expression in a SELECT
list. After a comma, only qualified `table.*` is permitted. Add a check
in the `select_expression_list` grammar rule to reject unqualified `*`
when it appears after a comma, matching MySQL behavior.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Arthur Schreiber <arthur@planetscale.com>1 parent 51e14b9 commit 36f409c
File tree
6 files changed
+749
-739
lines changed- go/vt
- sqlparser
- vtgate/semantics
- vttablet
- tabletmanager/vreplication
- tabletserver/vstreamer
6 files changed
+749
-739
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6633 | 6633 | | |
6634 | 6634 | | |
6635 | 6635 | | |
| 6636 | + | |
| 6637 | + | |
| 6638 | + | |
| 6639 | + | |
| 6640 | + | |
| 6641 | + | |
6636 | 6642 | | |
6637 | 6643 | | |
6638 | 6644 | | |
| |||
0 commit comments