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

Assigning RDB$DB_KEY to MBCS CHAR/VARCHAR does not enforce the target limit [CORE6314] #6555

Closed
firebird-automations opened this issue May 21, 2020 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @asfernandes

-- Does not fail
select cast(rdb$db_key as char(2) character set utf8) from rdb$database;

Commits: e19c193 aa0d3a7

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

Component: Engine [ 10000 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

summary: Assigning RDB$DB_KEY to MBCS CHAR/VARCHAR does not enforce the target limit nor does validate the well-formness of the data => Assigning RDB$DB_KEY to MBCS CHAR/VARCHAR does not enforce the target limit

@firebird-automations
Copy link
Collaborator Author

Commented by: @aafemt

Is only RDB$DB_KEY affected or any binary (character set OCTETS) data also?

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

RDB$DB_KEY, as said in the subject.

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0.6 [ 10889 ]

Fix Version: 4.0 RC 1 [ 10930 ]

@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