[MDEV-27460] trx_has_lock_x() gives wrong result if the table has pending table lock Created: 2022-01-10 Updated: 2022-01-11 Resolved: 2022-01-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.6.0, 10.7, 10.8 |
| Fix Version/s: | 10.6.6, 10.7.2, 10.8.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Thirunarayanan Balathandayuthapani | Assignee: | Thirunarayanan Balathandayuthapani |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
In InnoDB, trx_has_lock_x() returns wrong value if other transaction has pending |
| Comments |
| Comment by Thirunarayanan Balathandayuthapani [ 2022-01-10 ] | |||||||||
|
Patch is in bb-10.6- | |||||||||
| Comment by Thirunarayanan Balathandayuthapani [ 2022-01-10 ] | |||||||||
|
This problem affects bulk insert operation when set foreign_key_checks=0, unique_checks=0. | |||||||||
| Comment by Thirunarayanan Balathandayuthapani [ 2022-01-10 ] | |||||||||
|
Sorry for messing with the MDEV# |