Bug #31564 | Subqueries, EXPLAIN: "FirstMatch(tbl)" is printed too many times | ||
---|---|---|---|
Submitted: | 12 Oct 2007 12:39 | ||
Reporter: | Sergey Petrunya | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S4 (Feature request) |
Version: | 5.2 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | explain, optimizer_switch, semijoin, subquery |
[12 Oct 2007 12:39]
Sergey Petrunya
[2 Nov 2009 10:03]
Roy Lyseng
I do not think this feature request is applicable any more. When re-entering the queries, I get the output below, indicating that the change has already been carried out. Code analysis is probably needed to completely close out this report. Notice that I also had to disable materialization in order to trigger the FirstMatch strategy. +----+-------------+-------+------+---------------+------+---------+-----------+------+-----------------------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+-------+------+---------------+------+---------+-----------+------+-----------------------------+ | 1 | PRIMARY | t1 | ALL | NULL | NULL | NULL | NULL | 10 | | | 1 | PRIMARY | t2 | ref | a | a | 5 | test.t1.b | 1 | | | 1 | PRIMARY | t3 | ref | a | a | 5 | test.t2.b | 5 | Using index; FirstMatch(t1) | +----+-------------+-------+------+---------------+------+---------+-----------+------+-----------------------------+