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

Varchar length limit is not enforced when assigning string with trailing spaces in MBCS [CORE6310] #6551

Closed
firebird-issue-importer opened this issue May 19, 2020 · 4 comments

Comments

@firebird-issue-importer

Submitted by: @asfernandes

Test case:

select char_length(cast(_utf8 '123 ' as varchar(5) character set utf8)) from rdb$database;

Returns 12 instead of 5.

Commits: e19c193 aa0d3a7

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 19, 2020

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 22, 2020

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-issue-importer
Copy link
Author

firebird-issue-importer commented May 27, 2020

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 27, 2020

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