CREATE OR ALTER TRIGGER can change the table associated with an existing trigger
--------------------------------------------------------------------------------
Key: CORE-5546
URL: http://tracker.firebirdsql.org/browse/CORE-5546
Project: Firebird Core
Issue Type: Bug
Affects Versions: 3.0.2, 4.0 Initial
Reporter: Adriano dos Santos Fernandes
Before Firebird 3.0, the table name was ignored when changed from the original
trigger in a CREATE OR ALTER TRIGGER.
In Firebird 3.0, it started to change the trigger's table.
Test case:
recreate table t1 (n integer);
recreate table t2 (n integer);
create or alter trigger trig1 before insert on t1 as begin end;
show trigger trig1;
-- table: t1
create or alter trigger trig1 after insert on t2 as begin end;
show trigger trig1;
-- table: t2
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel