[#5260] Wrong update count when running UPDATE .. RETURNING in PostgreSQL and Firebird

This commit is contained in:
lukaseder 2016-05-12 12:30:24 +02:00
parent a358737b97
commit a7b659c3fb

View File

@ -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;
}
}