• unknown's avatar
    Fixed a bug: deadlock without any locking, simple select and update (Bug #7975). · bb0507fa
    unknown authored
    
    innobase/row/row0ins.c:
      If the SQL-query will update or replace duplicate key row we take X-lcok
      for duplicate row.
    sql/ha_innodb.cc:
      INSERT ON DUPLICATE KEY UPDATE will also update duplicate key and we can
      take X-lock in this case for duplicate key records.
    BitKeeper/etc/ignore:
      Added innobase/row/row0index.c to the ignore list
    bb0507fa
row0ins.c 60.7 KB