Issue Details (XML | Word | Printable)

Key: CORE-2922
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: Adriano dos Santos Fernandes
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Character set used in constants is not registered as dependency

Created: 14/Mar/10 03:44 PM   Updated: 23/Sep/15 12:59 PM
Component/s: Charsets/Collation
Affects Version/s: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.0.4, 2.5 Alpha 1, 2.1.1, 2.0.5, 2.1.2, 2.5 Beta 1, 2.5 Beta 2, 2.1.3, 3.0 Initial, 2.5 RC1, 2.5 RC2
Fix Version/s: 3.0 Alpha 1

Issue Links:
Relate
 

QA Status: Done successfully


 Description  « Hide
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


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Cisar added a comment - 23/Sep/15 12:59 PM
Test created.