[jOOQ/jOOQ#9954] Incorrect SQL generated in DB2's INSERT INTO t .. RETURNING t.* emulation
This commit is contained in:
parent
7b503d90b6
commit
91b257f3b2
@ -63,6 +63,5 @@ package org.jooq;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1392,13 +1392,7 @@ final class SelectQueryImpl<R extends Record> extends AbstractResultQuery<R> imp
|
||||
// [#....] Some SQL dialects do not require a FROM clause. Others do and
|
||||
// jOOQ generates a "DUAL" table or something equivalent.
|
||||
// See also org.jooq.impl.Dual for details.
|
||||
boolean hasFrom = !getFrom().isEmpty()
|
||||
|
||||
|
||||
|
||||
|| REQUIRES_FROM_CLAUSE.contains(context.dialect())
|
||||
;
|
||||
|
||||
boolean hasFrom = !getFrom().isEmpty() || REQUIRES_FROM_CLAUSE.contains(context.dialect());
|
||||
List<Condition> semiAntiJoinPredicates = null;
|
||||
ConditionProviderImpl where = getWhere();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user