• sunny's avatar
    branches/5.1: Backport r2724 from branches/zip · 1f9f5bfa
    sunny authored
    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.
    
    This fixes Bug#37788 InnoDB Plugin: AUTO_INCREMENT wrong for compressed tables
    
    1f9f5bfa
ha_innodb.cc 241 KB