Skip to content

Commit

Permalink
case insensitive for getTriggerFor
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Nov 4, 2020
1 parent c0f87eb commit fd931b4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1648,7 +1648,7 @@ public Trigger getTriggerFor(Table table, String triggerName) {
Trigger trigger = null;
List<Trigger> triggers = getTriggers(table.getCatalog(), table.getSchema(), table.getName());
for (Trigger t : triggers) {
if (t.getName().equals(triggerName)) {
if (t.getName().equalsIgnoreCase(triggerName)) {
trigger = t;
break;
}
Expand Down

0 comments on commit fd931b4

Please sign in to comment.