[Sqlalchemy-commits] commit/sqlalchemy: 2 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-01-09 19:26:22
|
2 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/6b489db89970/ Changeset: 6b489db89970 Branch: None User: zzzeek Date: 2017-01-06 22:56:41+00:00 Summary: Tighten rules for order_by(Label) resolution - Fixed bug originally introduced in 0.9 via :ticket:`1068` where order_by(<some Label()>) would order by the label name based on name alone, that is, even if the labeled expression were not at all the same expression otherwise present, implicitly or explicitly, in the selectable. The logic that orders by label now ensures that the labeled expression is related to the one that resolves to that name before ordering by the label name; additionally, the name has to resolve to an actual label explicit in the expression elsewhere, not just a column name. This logic is carefully kept separate from the order by(textual name) feature that has a slightly different purpose. Change-Id: I44fc36dab34380cc238c1e79ecbe23f1628d588a Fixes: #3882 Affected #: 4 files https://bitbucket.org/zzzeek/sqlalchemy/commits/e6eefc0c5e94/ Changeset: e6eefc0c5e94 Branch: master User: zzzeek Date: 2017-01-09 19:25:13+00:00 Summary: Merge "Tighten rules for order_by(Label) resolution" Affected #: 4 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |