Skip to content

Commit

Permalink
0002429: new data is bound as old data in the load filter extension (#…
Browse files Browse the repository at this point in the history
…189)

equals fix of BshDatabaseWriterFilter in issue 0002429
  • Loading branch information
alexander-mai committed Sep 6, 2023
1 parent 34b84e1 commit 1e70c61
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -132,8 +132,8 @@ private LinkedCaseInsensitiveMap<Object> getVariablesMap(Table table, CsvData da
Map<String, String> oldValues = data.toColumnNameValuePairs(table.getColumnNames(),
CsvData.OLD_DATA);
for (String columnName : oldValues.keySet()) {
namedParams.put(OLD_ + columnName, sourceValues.get(columnName));
namedParams.put(OLD_ + columnName.toUpperCase(), sourceValues.get(columnName));
namedParams.put(OLD_ + columnName, oldValues.get(columnName));
namedParams.put(OLD_ + columnName.toUpperCase(), oldValues.get(columnName));
}
}
return namedParams;
Expand Down

0 comments on commit 1e70c61

Please sign in to comment.