• Gleb Shchepa's avatar
    Bug #42778: delete order by null global variable causes · 387a54fb
    Gleb Shchepa authored
                assertion .\filesort.cc, line 797
    
    A query with the "ORDER BY @@some_system_variable" clause,
    where @@some_system_variable is NULL, causes assertion
    failure in the filesort procedures.
    
    The reason of the failure is in the value of
    Item_func_get_system_var::maybe_null: it was unconditionally
    set to false even if the value of a variable was NULL.
    387a54fb
variables.result 51.5 KB