Commit 06ffbf7d authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 472013: [Oracle] checksetup.pl fails with ORA-04091 and you can't change the…

Bug 472013: [Oracle] checksetup.pl fails with ORA-04091 and you can't change the properties of custom fields - Patch by Xiaoou <xiaoou.wu@oracle.com> r/a=mkanat
parent a8cc91bf
......@@ -558,7 +558,7 @@ sub bz_setup_database {
}
my $tr_str = "CREATE OR REPLACE TRIGGER $trigger_name"
. " AFTER UPDATE ON ". $to_table
. " AFTER UPDATE OF $to_column ON $to_table "
. " REFERENCING "
. " NEW AS NEW "
. " OLD AS OLD "
......
......@@ -152,7 +152,7 @@ sub get_fk_ddl {
if ( $update =~ /CASCADE/i ){
my $tr_str = "CREATE OR REPLACE TRIGGER ${fk_name}_UC"
. " AFTER UPDATE ON ". $to_table
. " AFTER UPDATE OF $to_column ON $to_table "
. " REFERENCING "
. " NEW AS NEW "
. " OLD AS OLD "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment