]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Include DISTINCT in error message for label reference
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Dec 2019 15:24:25 +0000 (10:24 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Dec 2019 15:26:49 +0000 (10:26 -0500)
commit500625103b4c0b7aa2d80a716818fb5e950841a8
tree7b5f408c573584d567bbc7de1c020f4f8291adc1
parent11ed5b100f158d9022abf7cd340c01fa80fd021b
Include DISTINCT in error message for label reference

Needed to add tests to ensure this label reference is handled
correctly, so also modified the exception message to
be more clear if someone has this error within distinct().

Change-Id: I6e685e46ae336596272d14366445ac224c18d92c
(cherry picked from commit 55f66e430d18b8daa51121cbc18537e2dab1ad9f)
doc/build/changelog/unreleased_13/dist_warn.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
test/orm/test_query.py
test/sql/test_text.py