一则唯一索引并发insert死锁

数据准备

为了观察死锁发送具体过程,关闭死锁检测

set global innodb_deadlock_detect='OFF';