• unknown's avatar
    InnoDB: implement LOCK TABLE (Bug #3299) · 57fc5263
    unknown authored
    
    innobase/include/lock0lock.h:
      Add lock_table_unlock() and lock_release_tables_off_kernel()
      Add LOCK_TABLE_EXP
    innobase/include/row0mysql.h:
      Add row_unlock_table_for_mysql() and row_lock_table_for_mysql()
    innobase/include/trx0trx.h:
      Add n_tables_locked
    innobase/lock/lock0lock.c:
      Add LOCK_TABLE_EXP for explicit LOCK TABLE commands
      Add lock_table_unlock()
      Add lock_release_tables_off_kernel()
    innobase/row/row0mysql.c:
      Add row_unlock_table_for_mysql() and row_lock_table_for_mysql()
    innobase/trx/trx0trx.c:
      Add n_tables_locked
    mysql-test/r/innodb.result:
      Updated handling of auto_inc columns
    sql/ha_innodb.cc:
      Call row_lock_table_for_mysql() and row_unlock_table_for_mysql()
    57fc5263
innodb-lock.test 689 Bytes