Bug #37357 | REPLACE ... SELECT puts share and gap locks on selected rows, INSERT does not | ||
---|---|---|---|
Submitted: | 11 Jun 2008 23:28 | Modified: | 12 Aug 2008 17:29 |
Reporter: | Gordon Shannon | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S4 (Feature request) |
Version: | 5.1.24-rc-community-log | OS: | Linux |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | replace insert read-committed lock |
[11 Jun 2008 23:28]
Gordon Shannon
[12 Jun 2008 5:24]
Valeriy Kravchuk
Thank you for a problem report. Please, send the resultd of: show variables like 'innodb_locks%'; from your server.
[12 Jun 2008 14:04]
Gordon Shannon
show variables like 'innodb_locks%'; +--------------------------------+-------+ | Variable_name | Value | +--------------------------------+-------+ | innodb_locks_unsafe_for_binlog | OFF | +--------------------------------+-------+ 1 row in set (0.01 sec)
[13 Jun 2008 15:21]
Susanne Ebrecht
Verified as described by using MySQL 5.1 bzr tree. This is InnoDB related because NDB is working correct as expected.
[17 Jun 2008 17:23]
Heikki Tuuri
This was brought up also by another customer a few weeks ago. I agree that it would be logical to drop the locking from the SELECT table in this case. It could be just like INSERT ... SELECT ... Assigning this feature request to Inaam.
[12 Aug 2008 17:08]
Inaam Rana
Duplicate of http://bugs.mysql.com/bug.php?id=37232
[12 Aug 2008 17:29]
MySQL Verification Team
Marking as duplicate according last comment from Inaam Rana.