Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AFTER CREATE/ALTER PACKAGE DDL triggers runs in incorrectly moment [CORE4887] #5181

Closed
firebird-automations opened this issue Jul 28, 2015 · 3 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @asfernandes

AFTER CREATE/ALTER PACKAGE DDL triggers is running before inserts and updates of RDB$PROCEDURES and RDB$FUNCTIONS, while they should run after all system tables changes.

Test case:

create exception e 'Empty package'!

create or alter trigger t_trig after create package
as
begin
if ((select count(*) from rdb$functions where rdb$package_name = rdb$get_context('DDL_TRIGGER', 'OBJECT_NAME')) = 0) then
exception e;
end!

create package xpk1
as
begin
function f1 returns integer;
end!

Commits: 50b2d73 FirebirdSQL/fbt-repository@889a712

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 RC 1 [ 10584 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Done successfully

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants