mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02:00
Backported from maria-5.5 the fix in the patch for mdev-4418 that
had been discovered when merging the patch from 5.3 into 5.5.
This commit is contained in:
parent
25c152018d
commit
008371b627
1 changed files with 1 additions and 4 deletions
|
|
@ -1219,10 +1219,7 @@ JOIN::optimize()
|
|||
zero_result_cause=
|
||||
"Impossible WHERE noticed after reading const tables";
|
||||
select_lex->mark_const_derived(zero_result_cause);
|
||||
if (select_options & SELECT_DESCRIBE)
|
||||
{
|
||||
conds=new Item_int((longlong) 0,1);
|
||||
}
|
||||
conds=new Item_int((longlong) 0,1);
|
||||
goto setup_subq_exit;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue