[jOOQ/jOOQ#16734] Redundant policy related logic in UpdateQueryImpl
This commit is contained in:
parent
09e75a5e23
commit
7a4b83a589
@ -297,7 +297,7 @@ implements
|
||||
}
|
||||
|
||||
if (where.hasWhere())
|
||||
d.addConditions(where);
|
||||
d.addConditions(where.getWhere());
|
||||
},
|
||||
transformInlineDerivedTables0(ctx, t, where, false)
|
||||
).accept0(ctx);
|
||||
|
||||
@ -595,7 +595,7 @@ implements
|
||||
}
|
||||
|
||||
if (where.hasWhere())
|
||||
d.addConditionsForInlineDerivedTable(where);
|
||||
d.addConditionsForInlineDerivedTable(where.getWhere());
|
||||
},
|
||||
transformInlineDerivedTables0(ctx, t, where, false)
|
||||
).accept0(ctx);
|
||||
@ -723,20 +723,9 @@ implements
|
||||
final void accept2(Context<?> ctx) {
|
||||
boolean declareTables = ctx.declareTables();
|
||||
|
||||
// [#14011] Additional predicates that are added for various reasons
|
||||
Condition moreWhere = noCondition();
|
||||
Table<?> t = table(ctx);
|
||||
ctx.scopeRegister(t, true);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ConditionProviderImpl where0 = new ConditionProviderImpl();
|
||||
TableList f = getFrom(ctx, where0);
|
||||
Table<?> t0 = t;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user