Bug #108273 SET user variable produces shared lock
| Submitted: | 24 Aug 2022 19:34 | Modified: | 25 Aug 2022 11:49 |
|---|---|---|---|
| Reporter: | an tr | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 8.0.21 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[24 Aug 2022 19:34]
an tr
[25 Aug 2022 11:49]
MySQL Verification Team
Hi Mr. tr, Thank you for your bug report. However, it is not a bug. It is the expected behaviour. Every time that InnoDB has to read rows or index entries from table, it sets a read lock. It has to, because storage engine expects you to use data from that row until the end of the transaction. This is regardless of the isolation level. Not a bug.
[25 Oct 2022 5:16]
Shane Bester
https://mysql.wisborg.dk/2021/07/31/locking-select-with-create-table-insert-into-and-user-...
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.