• Marko Mäkelä's avatar
    Merge a change from mysql-5.1-innodb: · 68ce054f
    Marko Mäkelä authored
    ------------------------------------------------------------
    revno: 3479
    revision-id: marko.makela@oracle.com-20100524110439-fazi70rlmt07tzd9
    parent: vasil.dimov@oracle.com-20100520133157-42uk5q3pp0vsinac
    committer: Marko Mäkelä <marko.makela@oracle.com>
    branch nick: 5.1-innodb
    timestamp: Mon 2010-05-24 14:04:39 +0300
    message:
      Bug#53578: assert on invalid page access, in fil_io()
    
      Store the max_space_id in the data dictionary header in order to avoid
      space_id reuse.
    
      DICT_HDR_MIX_ID: Renamed to DICT_HDR_MAX_SPACE_ID, DICT_HDR_MIX_ID_LOW.
    
      dict_hdr_get_new_id(): Return table_id, index_id, space_id or a subset of them.
    
      fil_system_t: Add ibool space_id_reuse_warned.
    
      fil_create_new_single_table_tablespace(): Get the space_id from the caller.
    
      fil_space_create(): Issue a warning if the fil_system->max_assigned_id
      is exceeded.
    
      fil_assign_new_space_id(): Return TRUE/FALSE and take a pointer to the
      space_id as a parameter. Make the function public.
    
      fil_init(): Initialize all fil_system fields by mem_zalloc(). Remove
      explicit initializations of certain fields to 0 or NULL.
    68ce054f
dict0boot.h 5.4 KB