• unknown's avatar
    InnoDB: implement LOCK TABLE (Bug #3299) · 3594adb1
    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()
    3594adb1
innodb-lock.result 389 Bytes