Bug #6426 update with long pk fails
Submitted: 4 Nov 2004 10:25 Modified: 4 Nov 2004 14:31
Reporter: Johan Andersson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S1 (Critical)
Version:mysql 4.1.7 max binary OS:Linux (fc2)
Assigned to: Pekka Nousiainen CPU Architecture:Any

[4 Nov 2004 10:25] Johan Andersson
Description:
mysql> 
CREATE TABLE `t2` (   `id` varchar(80) NOT NULL default '',   `authenticated` smallint(5) unsigned default NULL,    PRIMARY KEY  (`id`)) ENGINE=ndbcluster DEFAULT CHARSET=latin1;
Query OK, 0 rows affected (0.15 sec)

mysql> 
insert into t2(id) values(0);
Query OK, 1 row affected (0.01 sec)

mysql> 
insert into t2(id) values(1);
Query OK, 1 row affected (0.35 sec)

mysql> UPDATE t2 SET authenticated = 1 WHERE id = 0;

Kabooom!

cat ndb_2_error.log:

Date/Time: Thursday 4 November 2004 - 11:20:03
Type of error: error
Message: Internal program error
Fault ID: 2307
Problem data: WatchDog terminate
Object of reference: WatchDog.cpp
ProgramName: NDB Kernel
ProcessID: 9372
TraceFile: ./ndb_2_trace.log.3
***EOM***

How to repeat:
see above
[4 Nov 2004 10:27] Johan Andersson
trace file

Attachment: ndb_2_trace.log.3.tgz (application/x-gzip, text), 48.78 KiB.

[4 Nov 2004 13:15] Pekka Nousiainen
typo in DblqhMain.cpp