• unknown's avatar
    InnoDB: Allow ALTER TABLE to do intermediate COMMIT also when the table · fb8c2315
    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)
    fb8c2315
lock0lock.h 23.4 KB