Bug #37115 Subquery result differs between materialization and in->exists strategies
| Submitted: | 31 May 2008 2:16 | Modified: | 23 Nov 2009 15:01 |
|---|---|---|---|
| Reporter: | Sergey Petrunya | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
| Version: | 6.0-bk | OS: | Any |
| Assigned to: | Roy Lyseng | CPU Architecture: | Any |
| Tags: | materialization, subquery | ||
[31 May 2008 2:16]
Sergey Petrunya
[31 May 2008 16:28]
Sveta Smirnova
Thank you for the report. Verified as described.
[8 Jul 2009 9:46]
Roy Lyseng
I tested this on azalea branch and it appears that this issue has been fixed. Tested with the following optimizer switch settings and got same results in each run: set @@optimizer_switch='default'; set @@optimizer_switch='default,materialization=off'; set @@optimizer_switch='default,semijoin=off'; set @@optimizer_switch='default,materialization=off,semijoin=off';
[23 Nov 2009 15:01]
Roy Lyseng
Tried the commands with the following tagged releases on Linux: Version Date ---------------------- 6.0.3 2007-11-22 6.0.4.alpha 2008-02-12 6.0.5 2008-06-12 6.0.6 2008-08-11 6.0.14 2009-11-23 (untagged) None of these versions show the malfunction reported in this bugcase, hence I think that this problem must have existed temporarily in a development branch. The test case reports a problem with no_materialization. This query is already part of subselect_mat.test run with no materialization=off, hence there is no need to extend the test case.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 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.