• evgen@moonbone.local's avatar
    Bug#32482: Crash for a query with ORDER BY a user variable. · f1bff761
    evgen@moonbone.local authored
    The Item_func_set_user_var::register_field_in_read_map() did not check 
    that the result_field was null.This caused server crashes for queries that
    required order by such a field and were executed without using a temporary
    table.
    
    The Item_func_set_user_var::register_field_in_read_map() now checks the
    result_field to be not null.
    f1bff761
item_func.cc 139 KB