Skip to content

Commit

Permalink
Remove fix for NH-3428 which should be unnecessary when the fix for N…
Browse files Browse the repository at this point in the history
…H-2977 is picked from master.
  • Loading branch information
oskarb committed Aug 16, 2014
1 parent f0d952a commit a668a39
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/NHibernate/Dialect/MsSql2005DialectQueryPager.cs
Expand Up @@ -205,11 +205,6 @@ private static void AppendSortExpressionsForDistinct(Dictionary<SqlString, SqlSt
result.Add("q_.");
result.Add(value);
}
else if (columnToAlias.ContainsValue(sortExpression)) // When a distinct query is paged the sortexpressions could already be aliased.
{
result.Add("q_.");
result.Add(sortExpression);
}
else
{
throw new HibernateException(
Expand Down

0 comments on commit a668a39

Please sign in to comment.