• unknown's avatar
    Bug#17181 (mysqlslap test server crash): · 7d4c6846
    unknown authored
      Moving assignments to table_map_id for thread-safe handling of
      table shares.
    
    
    sql/ha_ndbcluster_binlog.cc:
      Assign_new_table_id() now takes table share instead of table.
    sql/mysql_priv.h:
      New protptype for assign_new_table_id().
    sql/sql_base.cc:
      Assign_new_table_id() now takes a table share instead of a table.
      Moving call to assign_new_table_id() into get_table_share().
    sql/table.cc:
      Setting default values of table_map_id and table_map_version inside
      alloc_table_share() and init_tmp_table_share().
      Removing the settings from open_table_from_share().
    7d4c6846
mysql_priv.h 68.5 KB