Files
Mike Bayer 6023557539 ensure explicit left side considered for ON clause in join_from
Fixed an issue in :meth:`_sql.Select.join_from` where the join condition
between the left and right tables specified in the method call could be
incorrectly determined based on an intermediate table already present in
the FROM clause, rather than matching the foreign keys between the
immediate left and right arguments. The join condition is now determined by
matching primary keys between the two tables explicitly passed to
:meth:`_sql.Select.join_from`, ensuring consistent and predictable join
behavior regardless of the order of join operations or other tables present
in the query.  The fix is applied to both the Core and ORM implementations
of :meth:`_sql.Select.join_from`.

Fixes: #12931
Change-Id: Id457d441ee8a1bd64a002e57a9dcfd6fc56ff15e
2025-10-21 09:21:29 -04:00
..
2025-09-18 15:17:18 -04:00
2024-01-31 21:54:59 +01:00
2025-03-18 09:17:07 -04:00
2023-06-27 23:50:25 +02:00
2025-09-19 13:09:08 -04:00
2025-08-31 16:32:58 -04:00
2023-05-09 20:23:48 -04:00
2025-02-03 10:08:09 -05:00
2023-06-27 23:50:25 +02:00
2024-01-31 21:54:59 +01:00
2023-06-27 23:50:25 +02:00