Bug #30337 | DELETE ... WHERE PK IN (..) and AFTER DELETE trigger crashes API node | ||
---|---|---|---|
Submitted: | 9 Aug 2007 16:35 | Modified: | 13 Sep 2007 15:07 |
Reporter: | Axel Schwenke | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
Version: | 5.0.44 | OS: | Linux |
Assigned to: | Martin Skold | CPU Architecture: | Any |
[9 Aug 2007 16:35]
Axel Schwenke
[13 Aug 2007 9:36]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/32435 ChangeSet@1.2473, 2007-08-13 11:36:30+02:00, mskold@mysql.com +1 -0 bug#30337 DELETE ... WHERE PK IN (..) and AFTER DELETE trigger crashes API node: Disable multi_read_range if there are after delete/update triggers
[13 Aug 2007 13:59]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/32449 ChangeSet@1.2474, 2007-08-13 15:59:08+02:00, mskold@mysql.com +2 -0 bug#30337 DELETE ... WHERE PK IN (..) and AFTER DELETE trigger crashes API node: Added testcase
[13 Aug 2007 23:45]
Stewart Smith
from my (limited) knowledge of the read multi range code, seems to make sense.
[14 Aug 2007 8:29]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/32493 ChangeSet@1.2577, 2007-08-14 10:29:00+02:00, mskold@mysql.com +1 -0 bug#30337 DELETE ... WHERE PK IN (..) and AFTER DELETE trigger crashes API node: Regenerated result
[7 Sep 2007 18:54]
Jon Stephens
Documented in mysql-5.1.22-ndb-6.2.5 changelog as: <literal>DELETE FROM <replaceable>table</replaceable> WHERE <replaceable>primary_key</replaceable> IN (<replaceable>value_list</replaceable>)</literal>, where the <replaceable>value_list</replaceable> contained more than one value, called from an <literal>AFTER DELETE</literal> trigger on an <literal>NDB</literal> table, caused <command>mysqld</command> to crash. (Bug #30337) Left PQ status pending pushes to mainline trees.
[13 Sep 2007 13:37]
Martin Skold
Pushed to 5.1.21
[13 Sep 2007 15:07]
Jon Stephens
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/ Documented fix in 5.1.21 changelog.
[13 Sep 2007 15:09]
Jon Stephens
Removed bugfix report from mysql-5.1.22-ndb-6.2.5 changelog since this had already been fixed prior to 5.1.22 -> cge-6.2.x merge.
[14 Sep 2007 16:25]
Bugs System
Pushed into 5.0.50
[14 Sep 2007 16:25]
Bugs System
Pushed into 5.1.23-beta