Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.10
-
None
-
Linux any
Description
Create a db from the attached dump file, the following select gives a wrong result
MariaDB [jira]> select fkey from t1 where fkey in (select distinct f4 from t2 where f1=147 and f5='S') order by fkey;
------
fkey |
------
267 |
267 |
267 |
267 |
267 |
267 |
267 |
267 |
267 |
------
If I switch off materialization adding the following line to the my.cnf file
optimizer_switch='materialization=off'
the result is correct
------
fkey |
------
90 |
93 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
------
Thanks
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 10.2.11 [ 22634 ] |
issue.field.resolutiondate | 2017-11-16 11:37:30.0 | 2017-11-16 11:37:30.481 |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Comment |
[ fixed by the commit dcbf2823c7d64380f06372 in scope of bug |
Workflow | MariaDB v3 [ 83848 ] | MariaDB v4 [ 153199 ] |
Thanks for the report!
The problem was fixed by the commit dcbf2823c7d64380f06372 in scope of bug
MDEV-13994.