From 1cba74c47feb30875ed8ca5891b95c789e2b186f Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 15 Aug 2023 09:41:50 -0400 Subject: [PATCH] fix test for mysql Change-Id: Ib05d950a4284412d2daf9b315314c46a70d9cdc7 --- test/orm/test_relationship_criteria.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/orm/test_relationship_criteria.py b/test/orm/test_relationship_criteria.py index e1dc0ae29e..d93f1fc8f3 100644 --- a/test/orm/test_relationship_criteria.py +++ b/test/orm/test_relationship_criteria.py @@ -2286,7 +2286,7 @@ class SubqueryCriteriaTest(fixtures.DeclarativeMappedTest): room_result = session.scalars( select(Room) - .order_by(Room.id) + .order_by(Room.id, room_alias.id) .join(Room.color.and_(Color.name == "red")) .join( room_alias, -- 2.47.3