提交 14206cd3 authored 作者: noelgrandin's avatar noelgrandin

remove unused parameter

上级 9f3823b1
...@@ -98,7 +98,7 @@ public class CreateTrigger extends SchemaCommand { ...@@ -98,7 +98,7 @@ public class CreateTrigger extends SchemaCommand {
trigger.setRowBased(rowBased); trigger.setRowBased(rowBased);
trigger.setTypeMask(typeMask); trigger.setTypeMask(typeMask);
trigger.setOnRollback(onRollback); trigger.setOnRollback(onRollback);
trigger.setTriggerClassName(session, triggerClassName, force); trigger.setTriggerClassName(triggerClassName, force);
db.addSchemaObject(session, trigger); db.addSchemaObject(session, trigger);
table.addTrigger(trigger); table.addTrigger(trigger);
return 0; return 0;
......
...@@ -85,7 +85,7 @@ public class TriggerObject extends SchemaObjectBase { ...@@ -85,7 +85,7 @@ public class TriggerObject extends SchemaObjectBase {
* @param force whether exceptions (due to missing class or access rights) * @param force whether exceptions (due to missing class or access rights)
* should be ignored * should be ignored
*/ */
public void setTriggerClassName(Session session, String triggerClassName, boolean force) { public void setTriggerClassName(String triggerClassName, boolean force) {
this.triggerClassName = triggerClassName; this.triggerClassName = triggerClassName;
try { try {
load(); load();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论