• unknown's avatar
    InnoDB: commit after every 10000 rows in ALTER TABLE · d07f96cf
    unknown authored
    
    innobase/include/lock0lock.h:
      Added function lock_get_ix_table()
    innobase/include/row0mysql.h:
      Added parameter "table" to row_lock_table_for_mysql()
    innobase/lock/lock0lock.c:
      Added function lock_get_ix_table()
    innobase/row/row0mysql.c:
      Added parameter "table" to row_lock_table_for_mysql()
    sql/ha_innodb.cc:
      write_row(): commit every 10000 rows in ALTER TABLE
    sql/ha_innodb.h:
      Added member variable num_write_row
    d07f96cf
ha_innodb.cc 157 KB