mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Automerge.
This commit is contained in:
@@ -1107,8 +1107,7 @@ JOIN::optimize()
|
||||
}
|
||||
|
||||
if (conds && const_table_map != found_const_table_map &&
|
||||
(select_options & SELECT_DESCRIBE) &&
|
||||
select_lex->master_unit() == &thd->lex->unit) // upper level SELECT
|
||||
(select_options & SELECT_DESCRIBE))
|
||||
{
|
||||
conds=new Item_int((longlong) 0,1); // Always false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user