Skip to content

Commit

Permalink
0006251: BSH column transform column names can conflict with built-in
Browse files Browse the repository at this point in the history
variable names
  • Loading branch information
erilong committed Feb 15, 2024
1 parent 523e079 commit 28d224d
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -98,7 +98,6 @@ public NewAndOldValue transform(IDatabasePlatform platform,
}
for (String columnName : sourceValues.keySet()) {
interpreter.set(columnName.toUpperCase(), sourceValues.get(columnName));
interpreter.set(columnName, sourceValues.get(columnName));
}
String transformExpression = column.getTransformExpression();
if (StringUtils.isEmpty(transformExpression)) {
Expand Down Expand Up @@ -136,7 +135,6 @@ public NewAndOldValue transform(IDatabasePlatform platform,
}
for (String columnName : sourceValues.keySet()) {
interpreter.unset(columnName.toUpperCase());
interpreter.unset(columnName);
}
if (result instanceof String) {
if (data.getTargetDmlType().equals(DataEventType.DELETE) && data.getOldSourceValues() != null) {
Expand Down

0 comments on commit 28d224d

Please sign in to comment.