Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.5
-
None
Description
CREATE TABLE t1 (c1 INT);
|
INSERT INTO t1 VALUES (1);
|
CREATE TABLE t2 (c2 INT);
|
INSERT INTO t2 VALUES (1);
|
|
SET optimizer_switch='derived_merge=off';
|
|
EXPLAIN EXTENDED
|
SELECT dt1_c1 FROM
|
(SELECT c1 AS dt1_c1 FROM t1) AS dt1
|
JOIN
|
(SELECT 1 AS dt2_c2 FROM t2) AS dt2
|
ON DEFAULT(dt2_c2) BETWEEN dt1_c1 AND dt1_c1;
|
Attachments
Issue Links
- duplicates
-
MDEV-31007 Assertion `item->type() == Item::FIELD_ITEM || (item->type() == Item::REF_ITEM && ((Item_ref *) item)->ref_type() == Item_ref::VIEW_REF)' failed in find_producing_item
-
- Confirmed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Link |
This issue relates to |
Fix Version/s | 10.5 [ 23123 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Link | This issue duplicates MDEV-31007 [ MDEV-31007 ] |
Fix Version/s | 10.5.27 [ 29902 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Duplicate [ 3 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link |
This issue relates to |
Link |
This issue relates to |
alice, I'm not sure: the call stacks are not identical (there is Item_str_func::fix_fields at
MDEV-25012), and the queries look different. Let's just link the tasks