[MDEV-20629] SELECT with WHERE IN and ORDER BY does not return rows Created: 2019-09-19 Updated: 2019-09-24 Resolved: 2019-09-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | N/A |
| Affects Version/s: | 10.4.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | richardeaxon | Assignee: | Alice Sherepa |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
centos7 and fedora30 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Query that worked on 10.2 no longer works after upgrading to 10.4.7. Simple test case attached. I can recreate the issue on 10.4.7 and 10.4.8 on centos7 and fedora30 using the Mariab official RPM's (not vendor built RPM's). The following RPM's are installed: MariaDB-common-10.4.8-1.fc30.x86_64 Using the attached table and dataset execute the following:
EXPLAIN says 3 rows are returned but none are displayed. Doing any of the following shows the rows: Removing the ORDER BY |
| Comments |
| Comment by Alice Sherepa [ 2019-09-19 ] | ||||||||||||||||||||||||||||||||||
|
Thank you for the report and the test case.
| ||||||||||||||||||||||||||||||||||
| Comment by richardeaxon [ 2019-09-19 ] | ||||||||||||||||||||||||||||||||||
|
I am not seeing the assertion. Just confirming that MariaDB needs to be compiled with debug enabled to see the assertion? | ||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2019-09-20 ] | ||||||||||||||||||||||||||||||||||
|
yes, the assertion on debug version |