diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2015-05-05 14:44:33 +0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-05-11 11:42:27 -0400 |
| commit | adc57632bc26cc8fe42bdb6aff463f883214980a (patch) | |
| tree | 6dcf3ba58091af38a12197cf845f551728b95fe1 /docs/ref | |
| parent | be9d645346a20a6c394bf70d47b1b1d5c81ff530 (diff) | |
Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queries
When the query's model had a self-referential foreign key, the
compiler.get_group_by() code incorrectly used the self-referential
foreign key's column (for example parent_id) as GROUP BY clause
when it should have used the model's primary key column (id).
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions
