• unknown's avatar
    Changes in get_table_type() and mysql_frm_type(). The main problem was · 5af7ca80
    unknown authored
    that in mysql_rm_table_part2_with_lock() previously we needed to open
    same file twice. Now once is enough.
    
    
    sql/mysql_priv.h:
      Merged functions get_table_type() and mysql_frm_type() into one,
      using the name from latter one.
    sql/sql_base.cc:
      Changed get_table_type() to mysql_frm_type()
    sql/sql_delete.cc:
      Changed get_table_type() to mysql_frm_type()
    sql/sql_rename.cc:
      Changed get_table_type() to mysql_frm_type()
    sql/sql_show.cc:
      Changed get_table_type() to mysql_frm_type()
    sql/sql_table.cc:
      Changed get_table_type() to mysql_frm_type()
    sql/sql_view.cc:
      Merged code from get_table_type() and mysql_frm_type() into the latter one.
    sql/sql_view.h:
      Function prototype changes.
    sql/table.cc:
      No longer needed.
    5af7ca80
table.cc 76.4 KB