[MCOL-4454] "ORDER BY BINARY a" is not like in InnoDB Created: 2020-12-16 Updated: 2021-01-22 Resolved: 2021-01-13 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | 5.4.3 |
| Fix Version/s: | 5.5.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2021-1 |
| Description |
|
Notice, ColumnStore returns the two records in reverse order. |
| Comments |
| Comment by Alexander Barkov [ 2020-12-16 ] | ||||||||||||||||||||
|
The same problem is repeatable with HEX() instead of BINARY():
| ||||||||||||||||||||
| Comment by Alexander Barkov [ 2020-12-16 ] | ||||||||||||||||||||
|
Note, if I remove "col" from the ORDER BY list, it seems to work fine:
Without "col" in ORDER BY, it also works fine with BINARY(a):
|