• unknown's avatar
    MDEV-435: Expensive subqueries may be evaluated during optimization in merge_key_fields · e47cdfdf
    unknown authored
    Fix by Sergey Petrunia.
    
    This patch only prevents the evaluation of expensive subqueries during optimization.
    The crash reported in this bug has been fixed by some other patch.
    The fix is to call value->is_null() only when  !value->is_expensive(), because is_null()
    may trigger evaluation of the Item, which in turn triggers subquery evaluation if the
    Item is a subquery.
    e47cdfdf
subselect_no_mat.result 237 KB