Bug #64556 | Interrupting a query inside InnoDB causes an unrelated warning to be raised | ||
---|---|---|---|
Submitted: | 5 Mar 2012 21:44 | Modified: | 20 Dec 2013 11:14 |
Reporter: | Davi Arnaut (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.5 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Contribution |
[5 Mar 2012 21:44]
Davi Arnaut
[6 Mar 2012 5:04]
Valeriy Kravchuk
Thank you for the bug report. Verified with 5.5.20 on Mac: mysql> delete from tinno1 where c1 = 2; ERROR 1317 (70100): Query execution was interrupted mysql> show warnings\G *************************** 1. row *************************** Level: Error Code: 1317 Message: Query execution was interrupted *************************** 2. row *************************** Level: Warning Code: 152 Message: InnoDB: Cannot delete/update rows with cascading foreign key constraints that exceed max depth of 255. Please drop extra constraints and try again *************************** 3. row *************************** Level: Error Code: 1317 Message: Query execution was interrupted 3 rows in set (0.00 sec)
[9 Apr 2012 18:53]
MySQL Verification Team
https://github.com/twitter/mysql/wiki/Change-History#wiki-5.5.21.t4 "Bug#64556: Interrupting a query inside InnoDB causes an unrelated warning to be raised Interrupting a statement (with KILL QUERY) that is executing inside InnoDB leads to an unrelated warning being raised in the context of the connection whose statement was interrupted. "
[20 Dec 2013 11:14]
Erlend Dahl
[10 Jul 2013 11:29] Daniel T Price (DTPRICE) Fixed in 5.5.34, 5.6.14, 5.7.2 under the heading of Bug#16710923. "A regression introduced with the fix for Bug #11762038 would cause "InnoDB" to raise an incorrect error message. The message stated that, "InnoDB cannot delete/update rows with cascading foreign key constraints that exceed max depth of 20". The error message would occur when killing connections reading from "InnoDB" tables that did not have foreign key constraints."