• Tatiana A. Nurnberg's avatar
    Bug#49487: crash with explain extended and group_concat in a derived table · 3678457d
    Tatiana A. Nurnberg authored
    When EXPLAIN EXTENDED tries to print column names, it checks whether the
    referenced table is CONST (in which case, the column's value rather than
    its name will be printed). If no proper table is reference (i.e. because
    a derived table was used that has since gone out of scope), this will fail
    spectacularly.
    
    This ports an equivalent of the fix for Bug 43354.
    3678457d
func_gconcat.test 23.2 KB