[jOOQ/jOOQ#9251] Fix ORDER BY ... FETCH NEXT ... WITH TIES for H2
For queries with a `FETCH NEXT ... WITH TIES` clause the `ORDER BY` clause isn't rendered in the OSS edition.
This commit is contained in:
parent
a755ec70a4
commit
a890eeeb12
@ -1591,8 +1591,8 @@ final class SelectQueryImpl<R extends Record> extends AbstractResultQuery<R> imp
|
||||
// [#6197] When emulating WITH TIES using RANK() in a subquery, we must avoid rendering the
|
||||
// subquery's ORDER BY clause
|
||||
if (!getLimit().withTies()
|
||||
|
||||
|
||||
// Dialects with native support
|
||||
|| SUPPORT_FULL_WITH_TIES.contains(ctx.dialect())
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user