No records in the table rdb$dependencies for ddl trigger
--------------------------------------------------------

                 Key: CORE-3992
                 URL: http://tracker.firebirdsql.org/browse/CORE-3992
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0 Alpha 1
            Reporter: Alex Bekhtin


CREATE TABLE DDL_LOG (
    ID         INTEGER,
    DDL_EVENT  VARCHAR(25),
    SQL        BLOB SUB_TYPE TEXT
);

create or alter trigger DDL_LOG_TRIGGER after any ddl statement
as
begin
  insert into ddl_log(SQL, DDL_EVENT)
    values (rdb$get_context('DDL_TRIGGER', 'SQL_TEXT'),
            rdb$get_context('DDL_TRIGGER', 'DDL_EVENT') );
end

select count(*) from rdb$dependencies d
  where d.rdb$dependent_name = 'DDL_LOG_TRIGGER'
     or d.rdb$depended_on_name = 'DDL_LOG_TRIGGER'
----------------------
COUNT
0

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

        

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to