Skip to content

Commit a668a39

Browse files
committed
Remove fix for NH-3428 which should be unnecessary when the fix for NH-2977 is picked from master.
1 parent f0d952a commit a668a39

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/NHibernate/Dialect/MsSql2005DialectQueryPager.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,6 @@ private static void AppendSortExpressionsForDistinct(Dictionary<SqlString, SqlSt
205205
result.Add("q_.");
206206
result.Add(value);
207207
}
208-
else if (columnToAlias.ContainsValue(sortExpression)) // When a distinct query is paged the sortexpressions could already be aliased.
209-
{
210-
result.Add("q_.");
211-
result.Add(sortExpression);
212-
}
213208
else
214209
{
215210
throw new HibernateException(

0 commit comments

Comments
 (0)