The bug repeatable also for LEFT join (also table should change order).
Cause of the bug is incorrect not_null_tables of Item_func_not_all (it makes optimizer thinks that the function will reject NULLs).
The bug repeatable also for LEFT join (also table should change order).
Cause of the bug is incorrect not_null_tables of Item_func_not_all (it makes optimizer thinks that the function will reject NULLs).