• marko's avatar
    Merge a change from MySQL AB: · 204964b7
    marko authored
    ChangeSet@1.2528.116.40  2007-09-08 11:19:35-07:00  acurtis@xiphis.org
    
    Bug#30907
      "Regression: "--innodb_autoinc_lock_mode=0" (off) not same as older releases"
    Bug#28430
      "Failure in replication of innodb partitioned tables on row/mixed format"
    Bug#30888
      "Innodb table + stored procedure + row deletion = server crash"
    
      Apply Oracle patch from Sunny
      Include tests cases by Omer
      Ensure that innobase_read_and_init_auto performs table autoinc lock when
      lock_mode = 0
      No need for "if" guard around row_unlock_table_autoinc_for_mysql() because
      it already performs same check.
      Make autoinc_lock_mode variable read-only for duration of running
      mysqld process.
    
    ha_innodb.cc:
    Bug30907/28430
      "Regression: "--innodb_autoinc_lock_mode=0" (off) not same as older releases"
      "Failure in replication of innodb partitioned tables on row/mixed format"
      Apply Oracle patch from Sunny
      Ensure that innobase_read_and_init_auto performs table autoinc lock when
      lock_mode = 0
      No need for "if" guard around row_unlock_table_autoinc_for_mysql() because
      it already performs same check.
      Make autoinc_lock_mode variable read-only for duration of running
      mysqld process.
    204964b7
ha_innodb.cc 232 KB