• unknown's avatar
    InnoDB: commit after every 10000 rows in ALTER TABLE · e45a57d3
    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
    e45a57d3
lock0lock.h 22.6 KB