Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
This is a followup to MDEV-25576, this part:
JOIN::optimize_inner has this code
if (const_table_map != found_const_table_map && |
!(select_options & SELECT_DESCRIBE))
|
{
|
// There is at least one empty const table |
zero_result_cause= "no matching row in const table"; |
...
|
goto setup_subq_exit; |
The !(select_options & SELECT_DESCRIBE)) part is bad practice.
Removing it causes a lot of changes in EXPLAIN output.
Attachments
Issue Links
- duplicates
-
MDEV-25846 Remove one SELECT_DESCRIBE check in JOIN::optimize_inner()
- Closed
- relates to
-
MDEV-25576 The statement EXPLAIN running as regular statement and as prepared statement produces different results for UPDATE with subquery
- Closed