Issue Details (XML | Word | Printable)

Key: CORE-2355
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

Incorrect handling of LOWER/UPPER when result string shrinks in terms of byte length

Created: 07/Mar/09 12:28 PM   Updated: 31/May/11 12:48 PM
Component/s: None
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
Fix Version/s: 2.5 Beta 1, 2.1.3, 2.0.6

Time Tracking:
Not Specified

Issue Links:
Relate
 

Planning Status: Unspecified


 Description  « Hide
Example: The 'İ' (U+0130) is composed by two bytes. But its lowercase is composed by 1 byte. It was throwing errors, but correct result would be:

SQL> SELECT LOWER('İA') FROM RDB$DATABASE;

LOWER
========
ia

SQL> SELECT LOWER('AӴЁΪΣƓİ') FROM RDB$DATABASE;

LOWER
============================
aӵёϊσɠi


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Cisar added a comment - 31/May/11 12:48 PM
QA test added.