[MDEV-27408] DESC index on a Mroonga table causes wrong order of result set Created: 2022-01-02  Updated: 2022-01-26  Resolved: 2022-01-26

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Mroonga
Affects Version/s: N/A
Fix Version/s: 10.8.1

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
is caused by MDEV-13756 Implement descending index: KEY (a DE... Closed

 Description   

install soname 'ha_mroonga';
create or replace table t (a int, key(a desc)) engine=Mroonga;
insert into t values (1),(3),(2);
select * from t order by a;

preview-10.8-MDEV-13756-desc-indexes 49b38c82a

select * from t order by a;
a
3
2
1


Generated at Thu Feb 08 09:52:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.