Hi, Sergey! Yes, that's basically how I fixed it. But only in key_rec_cmp(), key_cmp() changes somehow weren't needed. Perhaps they'll be needed for range optimizer though.
Please, use preview-10.8-MDEV-26938-desc-indexes for your range optimizer work. On Dec 11, Sergey Petrunia wrote: > On Tue, Dec 07, 2021 at 07:01:45PM +0300, Sergey Petrunia wrote: > > == Issue #1: ordered index scan is not handled in ha_partition == > > I've hit this again when trying to get range optmizer to work. Please find the > patch below. It follows MySQL-8's approach. > Regards, Sergei VP of MariaDB Server Engineering and secur...@mariadb.org _______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp