Bug #6426 update with long pk fails
Submitted: 4 Nov 2004 11:25 Modified: 4 Nov 2004 15:31
Reporter: Johan Andersson
Status: Closed
Category:Server: Cluster Severity:S1 (Critical)
Version:mysql 4.1.7 max binary OS:Linux (fc2)
Assigned to: Pekka Nousiainen Target Version:

[4 Nov 2004 11: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 11:27] Johan Andersson
trace file

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

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