Bug #41332 | Insert into partitioned "ndbcluster" table causes server crash | ||
---|---|---|---|
Submitted: | 9 Dec 2008 16:01 | Modified: | 12 Jan 2009 11:16 |
Reporter: | Joerg Bruehe | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S1 (Critical) |
Version: | Cluster 6.3.20 | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[9 Dec 2008 16:01]
Joerg Bruehe
[10 Dec 2008 7:31]
Mattias Jonsson
It works in mysql-5.1-bugteam, and is disabled in mysql-6.0-bugteam due to bug#38778. I'm looking into why it fails in this specific tree...
[12 Jan 2009 11:16]
Mattias Jonsson
Duplicate of bug#40709. It works in mysql-5.1 (and sort of in mysql-6.0, accept for a crash in a ndb node, bug#38778...) A fix for this tree until bug#40709 is fixed is to simply add a key to the column 'a': === modified file 'mysql-test/suite/parts/inc/partition_mgm.inc' --- mysql-test/suite/parts/inc/partition_mgm.inc 2008-07-10 23:14:13 +0000 +++ mysql-test/suite/parts/inc/partition_mgm.inc 2009-01-12 10:46:25 +0000 @@ -26,7 +26,7 @@ USE MySQL_Test_DB; --echo # 1.0 KEY partitioning mgm --echo # Creating KEY partitioned table -eval CREATE TABLE TableA (a INT) +eval CREATE TABLE TableA (a INT PRIMARY KEY) ENGINE = $engine PARTITION BY KEY (a) (PARTITION parta $part_optA, This does not fix bug#38778.
[4 May 2009 10:29]
Joerg Bruehe
For the record, and no surprise: Same failure in cluster-6.3.24. Note: It (still) affects all platforms. IMO, changing the test and declaring the column "primary key" will just hide the problem - I am not so much concerned that the test fails but rather that a) legal SQL causes a crash on all platforms (if this violates a known restriction, then it should be caught and rejected with an error message), and b) that this test, which is part of our sources, is not run during development.