why does mysql lock the next record that is out of range of the condition?

前端 未结 0 1694
囚心锁ツ
囚心锁ツ 2020-12-21 12:51
select version(); -- 5.7.32


CREATE TABLE foo (
  a INT NOT NULL,
  b INT NOT NULL,
  c CHAR(1) NOT NULL,
  PRIMARY KEY (a),
  UNIQUE KEY (b)
) ENGINE=InnoDB;

INSE         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题