• Timothy Smith's avatar
    Apply InnoDB snapshot innodb-5.1-ss2858, part 14. Fixes · 2ae86017
    Timothy Smith authored
    Bug #37788: InnoDB Plugin: AUTO_INCREMENT wrong for compressed tables
    
    (Note, this bug is not only in the plugin, the overflow checks are relevant
    for MySQL's InnoDB as well.)
    
    
    Detailed revision comments:
    
    r2852 | sunny | 2008-10-23 01:42:24 +0300 (Thu, 23 Oct 2008) | 9 lines
    branches/5.1: Backport r2724 from branches/zip
    
    Check column value against the col max value before updating the table's
    global autoinc counter value. This is part of simplifying the AUTOINC
    sub-system. We extract the type info from MySQL data structures at runtime.
    2ae86017
ha_innodb.cc 241 KB