This commit is contained in:
Lukas Eder 2023-11-08 11:46:25 +01:00
parent ec1cee732b
commit 702b8b21a1

View File

@ -581,12 +581,7 @@ final class FieldMapsForInsert extends AbstractQueryPart implements UNotYetImple
initNextRow();
for (Object field : fields) {
Field<?> f = Tools.tableField(table, field);
Field<?> e = empty.get(f);
if (e == null) {
e = new LazyVal<>((Field<Object>) f);
empty.put(f, e);
}
Field<?> e = empty.computeIfAbsent(f, LazyVal::new);
if (!values.containsKey(f)) {
values.put(f, rows > 0