• Oleksandr Byelkin's avatar
    MDEV-7445: Server crash with Signal 6 · 2e3e8180
    Oleksandr Byelkin authored
    Problem was in rewriting left expression which had 2 references on it. Solved with making subselect reference main.
    
    Item_in_optimized can have not Item_in_subselect reference in left part so type casting with no check is dangerous.
    
    Item::cols() should be checked after Item::fix_fields().
    2e3e8180
subselect_no_semijoin.result 243 KB