Issue Details (XML | Word | Printable)

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

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

Varchar length limit is not enforced when assigning string with trailing spaces in MBCS

Created: 19/May/20 04:03 PM   Updated: 27/May/20 06:54 AM
Component/s: Engine
Affects Version/s: 3.0.5, 4.0 Beta 2
Fix Version/s: 3.0.6, 4.0 RC 1

QA Status: Done successfully

 Description  « Hide
Test case:

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

Returns 12 instead of 5.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.