[MDEV-28216] Incorrect Join Execution When Controlling Outer Join Operations Created: 2022-04-02 Updated: 2023-04-27 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.8.2, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Xiu Tang | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
CREATE TABLE `t1` ( CREATE TABLE `t2` ( CREATE TABLE `t3` ( mysql> SELECT t3.c0 FROM t1 CROSS JOIN t2 LEFT OUTER JOIN t3 ON t2.c1 = t3.c1 WHERE (t1.c0 IN ((t2.c0 REGEXP t2.c1), t2.c0));
------
------ mysql> SET optimizer_switch='outer_join_with_cache=off'; mysql> SELECT t3.c0 FROM t1 CROSS JOIN t2 LEFT OUTER JOIN t3 ON t2.c1 = t3.c1 WHERE (t1.c0 IN ((t2.c0 REGEXP t2.c1), t2.c0));
------------
------------ |
| Comments |
| Comment by Alice Sherepa [ 2022-04-07 ] |
|
Thanks! I repeated as described on 10.2 ( 53b580a91c12e927) -10.8 |