[jOOQ/jOOQ#14571] Regression: UpdateQuery.execute() with RETURNING clause returns 1 even when no records were updated
This commit is contained in:
parent
9ef3f9ebae
commit
24ae7eb51e
@ -1025,7 +1025,7 @@ abstract class AbstractDMLQuery<R extends Record> extends AbstractRowCountQuery
|
||||
return super.execute(ctx, listener);
|
||||
}
|
||||
else {
|
||||
int result = 1;
|
||||
int result = 0;
|
||||
ResultSet rs;
|
||||
switch (ctx.family()) {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user