Issue Details (XML | Word | Printable)

Key: CORE-2355
Type: Bug Bug
Status: Resolved Resolved
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: 07/Mar/09 01:01 PM
Return to search
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

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   FishEye      Sort Order: Ascending order - Click to sort in descending order
Adriano dos Santos Fernandes committed 1 file to 'Firebird' - 07/Mar/09 05:39 PM
Fixed CORE-2355 - Incorrect handling of LOWER/UPPER when result string shrinks in terms of byte length
MODIFY src/jrd/evl.cpp   Rev. 1.290    (+2 -2 lines)
Adriano dos Santos Fernandes committed 2 files to 'Firebird' on branch 'B2_1_Release' - 07/Mar/09 05:55 PM
Backport fix for CORE-2355 - Incorrect handling of LOWER/UPPER when result string shrinks in terms of byte length
MODIFY src/jrd/evl.cpp   Rev. 1.243.2.7    (+1 -1 lines)
MODIFY src/jrd/intl.cpp   Rev. 1.99.2.2    (+12 -20 lines)
Adriano dos Santos Fernandes committed 2 files to 'Firebird' on branch 'B2_0_Release' - 07/Mar/09 06:00 PM
Backport fix for CORE-2355 - Incorrect handling of LOWER/UPPER when result string shrinks in terms of byte length.
MODIFY src/jrd/intl.cpp   Rev. 1.83.4.4    (+12 -20 lines)
MODIFY src/jrd/evl.cpp   Rev. 1.165.2.11    (+2 -2 lines)