mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
select.result, func_group.result, sql_select.cc:
After merge fix
This commit is contained in:
@ -687,8 +687,9 @@ JOIN::optimize()
|
||||
Notice that make_cond_for_table() will always succeed to remove all
|
||||
computed conditions, because opt_sum_query() is applicable only to
|
||||
conjunctions.
|
||||
Preserve conditions for EXPLAIN.
|
||||
*/
|
||||
if (conds)
|
||||
if (conds && !(thd->lex->describe & DESCRIBE_EXTENDED))
|
||||
{
|
||||
COND *table_independent_conds=
|
||||
make_cond_for_table(conds, PSEUDO_TABLE_BITS, 0);
|
||||
|
Reference in New Issue
Block a user