• evgen@moonbone.local's avatar
    Fix bug #11864 non unique names are allowed in subquery · baf0c9ad
    evgen@moonbone.local authored
    Column names weren't checked for uniqueness for subqueries.
    
    Code for names uniqueness checking used for view creation moved into 
    separate function named check_duplicate_names(). It's called on 
    preparation of subqueries to check uniqueness of names. If duplicate names 
    are found then error is raised.
    baf0c9ad
sql_view.cc 37.7 KB