Repository navigation
Commit 81d2fc0
test(query): count a distinct join without a select
MySQL refuses a derived table with two columns of the same name. A
distinct join without a select projects the main table's columns next to
the joined `r._uid`, so the count holds it to keep those names apart on
every adapter.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 4eda93a commit 81d2fc0
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2845 | 2845 | | |
2846 | 2846 | | |
2847 | 2847 | | |
| 2848 | + | |
2848 | 2849 | | |
2849 | 2850 | | |
2850 | 2851 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
0 commit comments