[jOOQ/jOOQ#7512] Emulate LATERAL on SQL Server for table lists
This commit is contained in:
parent
b293f64a05
commit
76a0519d22
@ -2403,6 +2403,8 @@ final class SelectQueryImpl<R extends Record> extends AbstractResultQuery<R> imp
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
tablelist = transformInlineDerivedTables(tablelist, where);
|
||||
|
||||
context.formatSeparator()
|
||||
@ -2650,6 +2652,39 @@ final class SelectQueryImpl<R extends Record> extends AbstractResultQuery<R> imp
|
||||
|| join.rhs instanceof JoinTable && hasInlineDerivedTables((JoinTable) join.rhs);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private final TableList transformInlineDerivedTables(TableList tablelist, ConditionProviderImpl where) {
|
||||
if (!hasInlineDerivedTables(tablelist))
|
||||
return tablelist;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user