Bug #81002 | Concurrent DML via LOCK=NONE does not error on tables with foreign keys. | ||
---|---|---|---|
Submitted: | 8 Apr 2016 3:00 | Modified: | 19 Apr 2016 19:02 |
Reporter: | Derek Downey | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.6.29 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | foreign keys |
[8 Apr 2016 3:00]
Derek Downey
[8 Apr 2016 12:32]
Derek Downey
Actually, after some sleep and some coffee, the 'how to repeat section' only shows that MDL locks are holding up the operation, not that concurrent DML is being blocked or disallowed. Reduced severity to S3. Further tests show that I am able to do concurrent inserts during the operation to add a column, so it appears concurrent DML is allowed on an online DDL to add a column to the table. If this is the case, the documentation regarding concurrent DML on tables containing FKs is unclear (or outdated).
[11 Apr 2016 13:39]
MySQL Verification Team
Hi Derek, I have done some tests and I agree with you. This is not properly documented. Verified as a documentation bug.
[19 Apr 2016 19:02]
Daniel Price
Posted by developer: Verified support for concurrent DML in this scenario back to an earlier version of 5.6. The problematic information in the Online DDL documentation was removed. The change should appear online soon. Thank you for the bug report.