[jOOQ/jOOQ#19188] Select::$replace doesn't maintain SELECT .. INTO clause
This commit is contained in:
parent
69d863d2eb
commit
97ee239bb9
@ -584,6 +584,10 @@ final class SelectQueryImpl<R extends Record> extends AbstractResultQuery<R> imp
|
||||
|
||||
private final SelectQueryImpl<R> copyBetween(CopyClause start, CopyClause end, boolean scalarSelect, SelectQueryImpl<R> result) {
|
||||
if (CopyClause.START.between(start, end)) {
|
||||
result.intoTable = intoTable;
|
||||
if (intoVariables != null)
|
||||
result.intoVariables = new QueryPartList<>(intoVariables);
|
||||
|
||||
result.from.addAll(from);
|
||||
result.condition.setWhere(condition.getWhere());
|
||||
|
||||
@ -5767,6 +5771,10 @@ final class SelectQueryImpl<R extends Record> extends AbstractResultQuery<R> imp
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user