• Alexander Nozdrin's avatar
    Remove check_merge_table_access(). · 5c7f99fd
    Alexander Nozdrin authored
    check_merge_table_access() used to do two things:
      - set proper database for every merge table child;
      - check SELECT | UPDATE | DELETE for merge table children.
    
    Setting database is not needed anymore, since it's done
    on the parsing stage.
    
    Thus, check_merge_table_access() can be removed;
    needed privileges can be checked using check_table_access().
    5c7f99fd
sql_parse.cc 224 KB