[MDEV-3633] LP:923246 - Loosescan reports different result than other semijoin methods Created: 2012-01-29 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Igor Babaev | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
Bug #49845 from bugs.mysql.com still can be reproduced in mariadb-5.3: MariaDB [test]> set optimizer_switch='materialization=off'; MariaDB [test]> explain select * from t3 where a in (select t1.kp1 from t1,t4 where kp1<20 and t4.pk=t1.c);
---
--- MariaDB [test]> set optimizer_switch='mrr=on'; MariaDB [test]> explain select * from t3 where a in (select t1.kp1 from t1,t4 where kp1<20 and t4.pk=t1.c);
---
--- MariaDB [test]> select * from t3 where a in (select t1.kp1 from t1,t4 where kp1<20 and t4.pk=t1.c);
------
------ MariaDB [test]> set optimizer_switch='loosescan=off'; MariaDB [test]> select * from t3 where a in (select t1.kp1 from t1,t4 where kp1<20 and t4.pk=t1.c);
------
------ |
| Comments |
| Comment by Sergei Petrunia [ 2012-01-30 ] |
|
Re: Loosescan reports different result than other semijoin methods |
| Comment by Rasmus Johansson (Inactive) [ 2012-02-20 ] |
|
Launchpad bug id: 923246 |