• Timothy Smith's avatar
    Apply InnoDB snapshot innodb-5.1-ss2858, part 15. Fixes · 3d343fb1
    Timothy Smith authored
    Bug #39830: Table autoinc value not updated on first insert.
    Bug #35498: Cannot get table test/table1 auto-inccounter value in ::info
    Bug #36411: Failed to read auto-increment value from storage engine" in 5.1.24 auto-inc
    
    Detailed revision comments:
    
    r2854 | sunny | 2008-10-23 08:30:32 +0300 (Thu, 23 Oct 2008) | 13 lines
    branches/5.1: Backport changes from branches/zip r2725
    
    Simplify the autoinc initialization code. This removes the
    non-determinism related to reading the table's autoinc value for the first
    time. This change has also reduced the sizeof dict_table_t by sizeof(ibool)
    bytes because we don't need the dict_table_t::autoinc_inited field anymore.
    
    rb://16
    3d343fb1
dict0mem.h 15.2 KB