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

Character set used in constants is not registered as dependency [CORE2922] #3305

Closed
firebird-automations opened this issue Mar 14, 2010 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @asfernandes

Is related to QA550

Ivan Prenosil reported in fb-devel:

CREATE PROCEDURE P AS
DECLARE VARIABLE A VARCHAR(10) CHARACTER SET WIN1250;
BEGIN
RDB$SET_CONTEXT('USER_SESSION', 'X', :A);
END;

SQL> SHOW PROC;
Procedure Name Invalid Dependency, Type
================================= ======= =====================================
P RDB$SET_CONTEXT, User defined function
WIN1250, Collation

----------

Shoud not this procedure create the same dependency on collation as the one above ?

CREATE PROCEDURE P2 AS
BEGIN
POST_EVENT _WIN1250'abc';
END;

SQL> SHOW PROC;
Procedure Name Invalid Dependency, Type
================================= ======= =====================================
P RDB$SET_CONTEXT, User defined function
WIN1250, Collation
P2

Commits: bdf996e

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA550 [ QA550 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Test created.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

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