[MDEV-19195] Active Record unit test fails with MariaDB 10.4.3 Created: 2019-04-06 Updated: 2019-04-18 Resolved: 2019-04-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.4.3, 10.4 |
| Fix Version/s: | 10.4.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Yasuo Honda | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Fedora release 29 (Twenty Nine) |
||
| Attachments: |
|
| Description |
|
Running Ruby on Rails Active Record unit tests with MariaDB 10.4.3, some of the tests failed.
|
| Comments |
| Comment by Yasuo Honda [ 2019-04-06 ] | ||||||||||||||||||||||||||||||
|
The correct version number is 10.4.3
| ||||||||||||||||||||||||||||||
| Comment by Yasuo Honda [ 2019-04-06 ] | ||||||||||||||||||||||||||||||
|
https://github.com/rails/rails/issues/35884 explains steps to reproduce using Active Record. | ||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2019-04-08 ] | ||||||||||||||||||||||||||||||
|
Thanks for the report! Reproducible on 10.4 with optimizer_switch="rowid_filter=on"
| ||||||||||||||||||||||||||||||
| Comment by Yasuo Honda [ 2019-04-08 ] | ||||||||||||||||||||||||||||||
|
Thanks for the investigation. Setting `optimizer_switch=rowid_filter=off` addresses this wrong result.
| ||||||||||||||||||||||||||||||
| Comment by Igor Babaev [ 2019-04-18 ] | ||||||||||||||||||||||||||||||
|
A fix for this bug was pushed into 10.4 |