[jOOQ/jOOQ#8964] Always cast decimals with scale in toSQL92Values()

The SQL Server workaround does not always work correctly when the
`CAST()` is only applied to the values of the first row.
This commit is contained in:
Knut Wannheden 2019-08-15 16:53:24 +02:00
parent 56d25586cc
commit a144a1402d

View File

@ -67,7 +67,6 @@ import org.jooq.Field;
import org.jooq.Param;
// ...
import org.jooq.Record;
import org.jooq.RenderContext;
import org.jooq.Select;
import org.jooq.Table;
import org.jooq.impl.AbstractStoreQuery.UnknownField;
@ -279,6 +278,7 @@ final class FieldMapsForInsert extends AbstractQueryPart {
ctx.visit(list.get(row));
separator = ", ";
}