• evgen@moonbone.local's avatar
    Fix bug #12993 View column rename broken in subselect · 75841099
    evgen@moonbone.local authored
    When view column aliased in subselect alias is set on ref which represents
    field. When tmp table is created for subselect, it takes name of original field
    not ref. Because of this alias on view column in subselect is lost. Which
    results in reported error.
    
    Now when alias is set on ref, it's set on ref real item too.
    75841099
sql_base.cc 157 KB