MyRocks - missing server binary collation patch
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
||||
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.6 |
Fix Released
|
Medium
|
George Ormond Lorch III | |||
5.7 |
Fix Released
|
Medium
|
George Ormond Lorch III |
Bug Description
MyRocks testing needs some upstream Facebook MySQL patches in Percona Server. These patches also correct a basic issue with <charset>_bin ordering for both InnoDB and TokuDB.
Patches are:
https:/
Fix sort order for empty strings in 'text' columns
Summary:
This is a fix for an upstream bug: http://
The problem is that Field_blob:
The fix is to memzero only if the collation pad character happens to be 0 as well.
and
https:/
Fix length in Field_blob:
Summary:
For the binary collation in Field_blob:
Suppose key length is 1, and we want to encode "ab", "a". Then we get the following sort keys:
'a' 0 2
'a' 0 1
We want the two of them to produce the same key instead. To fix, define key length to be the min of blob length and requested key length.
Upstream tracking issue https:/
tags: | added: upstream |
tags: | added: myrocks tokubackup |
tags: |
added: tokudb removed: tokubackup |
See also https:/ /jira.percona. com/browse/ MYR-65