Issue Details (XML | Word | Printable)

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

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

CHAR_TO_UUID and UUID_TO_CHAR works different in big endian architectures - similar to CORE-2898

Created: 10/Jul/12 03:01 PM   Updated: 18/Jan/16 03:59 PM
Component/s: Engine
Affects Version/s: 3.0 Initial, 2.5.0, 2.5.1
Fix Version/s: 2.5.2, 3.0 Alpha 1

QA Status: No test

 Description  « Hide
Value converted by UUID_TO_CHAR in little endian produce different result if used with CHAR_TO_UUID in big endian, and vice-versa.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Adriano dos Santos Fernandes added a comment - 10/Jul/12 03:02 PM
Important (for big-endian servers):
    It has been discovered that before Firebird 2.5.2, CHAR_TO_UUID and UUID_TO_CHAR works
    incorrectly in big-endian servers. In these machines, bytes/characters are swapped and goes in
    wrong positions when converting. This bug was fixed in 2.5.2 and 3.0, but that means these
    functions now returns different values (for the same input parameter) than before.