• Monty's avatar
    Adding support for auto_increment in the partition engine. · dc17ac16
    Monty authored
    Contains Spiral patches:
    022_mariadb-10.2.0.auto_increment.diff               MDEV-7720
    030: 030_mariadb-10.2.0.partition_auto_inc_init.diff MDEV-7726
    
    These patches have the following differences compared to the original
    patches:
    - Added the new #defines for the feature in spd_environ.h instead of in
      handler.h because these #defines are needed by Spider and are not needed
      by the server.
    - Cleaned up code related to the removed variable m_need_info_for_auto_inc
    . Changed variable assignment in lock_auto_increment() and
      unlock_auto_increment() so that the assignments are done under locks.
    - Added a test case.
    - Added test result changes resulting from a bug that was fixed by these
      patches.
    
    Original author: Kentoku SHIBA
    First reviewer:  Jacob Mathew
    Second reviewer: Michael Widenius
    dc17ac16
auto_increment.result 5.57 KB