[#5260] Wrong update count when running UPDATE .. RETURNING in PostgreSQL and Firebird
This commit is contained in:
parent
a358737b97
commit
a7b659c3fb
@ -482,6 +482,9 @@ abstract class AbstractDMLQuery<R extends Record> extends AbstractQuery {
|
||||
if (table.fields().length > 0)
|
||||
returned = returned.into(table);
|
||||
|
||||
result = returned.size();
|
||||
ctx.rows(result);
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user