• Michael Widenius's avatar
    Bug fix for MySQL bug#61209 "auto_increment_offset != 1 +... · 21217213
    Michael Widenius authored
    Bug fix for MySQL bug#61209 "auto_increment_offset != 1 + innodb_autoinc_lock_mode=1 => bulk inserts fail"
    Patch and test case by Patryk Pomykalski
    
    mysql-test/suite/innodb/r/innodb-autoinc.result:
      updated test case
    storage/innodb_plugin/handler/ha_innodb.cc:
      Fixed that we properly reserve values for auto_increment
    storage/xtradb/handler/ha_innodb.cc:
      Fixed that we properly reserve values for auto_increment
    21217213
ha_innodb.cc 324 KB