• unknown's avatar
    InnoDB: Allow ALTER TABLE to do intermediate COMMIT also when the table · d6180d37
    unknown authored
    contains auto_increment columns.  (Bug #6633)
    
    
    innobase/include/lock0lock.h:
      Replaced lock_get_table()
      with lock_get_src_table() and lock_is_table_exclusive()
    innobase/lock/lock0lock.c:
      Replaced lock_get_table()
      with lock_get_src_table() and lock_is_table_exclusive()
    sql/ha_innodb.cc:
      ha_innobase::write_row(): Improve the ALTER TABLE optimization
      (do intermediate COMMIT also if table contains auto_increment columns)
    d6180d37
ha_innodb.cc 158 KB