Bug #110459 Derive_merge optimizer missing error
| Submitted: | 22 Mar 2023 8:09 | Modified: | 7 Jun 2023 8:51 |
|---|---|---|---|
| Reporter: | Pedro Ferreira | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
| Version: | 8.0.32 | OS: | Ubuntu (22.04) |
| Assigned to: | CPU Architecture: | x86 (x86_64) | |
| Tags: | derive_merge | ||
[22 Mar 2023 8:09]
Pedro Ferreira
[22 Mar 2023 8:12]
Pedro Ferreira
Set the right category
[22 Mar 2023 11:29]
MySQL Verification Team
Hello Pedro Ferreira, Thank you for the report and feedback. regards, Umesh
[7 Jun 2023 8:51]
Pedro Ferreira
Had a similar issue today with: CREATE TABLE t0 (c1 INT); CREATE TABLE t1 (c1 INT, c2 INT); INSERT INTO t1(c1,c2) VALUES (NULL,76),(131,120); SET @@SESSION.OPTIMIZER_SWITCH = 'derived_merge=off'; SELECT 1 FROM t1 WHERE ROW(t1.c2, t1.c1) NOT IN (SELECT 3, x.x FROM (SELECT t0.c1 FROM t0 RIGHT JOIN t1 ON FALSE) x(x)); -- 2 rows SET @@SESSION.OPTIMIZER_SWITCH = 'derived_merge=on'; SELECT 1 FROM t1 WHERE ROW(t1.c2, t1.c1) NOT IN (SELECT 3, x.x FROM (SELECT t0.c1 FROM t0 RIGHT JOIN t1 ON FALSE) x(x)); --no rows
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.056 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.