[MDEV-14389] MyRocks and NOPAD collations Created: 2017-11-14 Updated: 2017-12-12 Resolved: 2017-12-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
MyRocks collation support assumes the collation has PAD attribute (except for BINARY/VARBINARY). It was actually quite difficult to achieve this. Then, MariaDB got some collations that have NOPAD attribute. MyRocks code needs to be adjusted to handle that. Probably the easiest first step is to just disallow indexed NOPAD columns for MyRocks tables. |
| Comments |
| Comment by Sergei Petrunia [ 2017-12-11 ] | |||||||||||||||||
|
Steps to reproduce.
And this is what happens:
endspace is stripped, this is why we get an error. | |||||||||||||||||
| Comment by Sergei Petrunia [ 2017-12-11 ] | |||||||||||||||||
|
Fixed by not allowing indexed NOPAD collations with MyRocks. |