• unknown's avatar
    Patch changing how ALTER TABLE implementation handles table locking · 7aca277f
    unknown authored
    and invalidation in the most general case (non-temporary table and
    not simple RENAME or ENABLE/DISABLE KEYS or partitioning command).
    
    See comment for sql/sql_table.cc for more information.
    
    These changes are prerequisite for 5.1 version of fix for bug #23667
    "CREATE TABLE LIKE is not isolated from alteration by other connections"
    
    
    mysql-test/include/mix1.inc:
      Extended coverage for behavior of ALTER TABLE statement under LOCK TABLES,
      which should be consistent across all platforms and for all engines.
    mysql-test/r/alter_table-big.result:
      Changed test for bug #25044 to use @@debug and injected sleeps
      infrastructure. Extended test coverage for ALTER TABLE's behavior
      under concurrency.
    mysql-test/r/alter_table.result:
      Extended coverage for behavior of ALTER TABLE statement under LOCK TABLES,
      which should be consistent across all platforms and for all engines.
    mysql-test/r/innodb_mysql.result:
      Extended coverage for behavior of...
    7aca277f
mysql_priv.h 84.1 KB