Skip to content

Commit

Permalink
do a toUpperCase on the trigger name when putting it in the trigger h…
Browse files Browse the repository at this point in the history
…ist table so it is the same as the create trigger.
  • Loading branch information
chenson42 committed Feb 8, 2008
1 parent e0133a3 commit 8dae257
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -286,7 +286,7 @@ private TriggerHistory rebuildTriggerIfNecessary(boolean forceRebuild, Trigger t

int maxTriggerNameLengh = dbDialect.getMaxTriggerNameLength();
TriggerHistory newTriggerHist = new TriggerHistory(table, trigger, reason, trigger.getTriggerName(
DataEventType.INSERT, triggerPrefix, maxTriggerNameLengh), trigger.getTriggerName(DataEventType.UPDATE, triggerPrefix, maxTriggerNameLengh),
DataEventType.INSERT, triggerPrefix, maxTriggerNameLengh), trigger.getTriggerName(DataEventType.UPDATE, triggerPrefix, maxTriggerNameLengh).toUpperCase(),
trigger.getTriggerName(DataEventType.DELETE, triggerPrefix, maxTriggerNameLengh));

String oldTriggerName = null;
Expand Down

0 comments on commit 8dae257

Please sign in to comment.