Why set a shared lock when duplicate-key error occurs during insert

前端 未结 0 1961
不知归路
不知归路 2020-11-27 10:09

As Locks Set by Different SQL Statements in InnoDB, INSERT section said,

INSERT sets an exclusive lock on the inserted row.
Prior to inserting the

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