Skip to content

Commit

Permalink
Do not append from element when already in from
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericDelaporte committed Feb 1, 2024
1 parent 7cd90cc commit 3f02e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NHibernate/Hql/Ast/ANTLR/Tree/FromElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ public void SetOrigin(FromElement origin, bool manyToMany)
JoinSequence.SetUseThetaStyle(true);
}
}
else
else if (Walker.CurrentClauseType != HqlSqlWalker.FROM)
{
FromClause.AppendFromElement(this);
}
Expand Down

0 comments on commit 3f02e7c

Please sign in to comment.