DDL trigger remains active after dropped
----------------------------------------

                 Key: CORE-4555
                 URL: http://tracker.firebirdsql.org/browse/CORE-4555
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0 Alpha 2
            Reporter: Adriano dos Santos Fernandes


Test case:

create exception e1 'e1'!

CREATE OR ALTER TRIGGER t_ddl
ACTIVE BEFORE create exception
AS
BEGIN
  if (current_user <> 'DUDE') then
    exception e1;
END!

create exception ARGH 'sss'!

drop trigger t_ddl!

create exception ARGH 'sss'!

Statement failed, SQLSTATE = HY000
unsuccessful metadata update
-CREATE EXCEPTION ARGH failed
-exception 1
-E1
-e1

-- 
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

        

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to