Bug #15517 Nodes shutting down when using NdbAPI equal() method on a VARCHAR field
Submitted: 6 Dec 2005 12:31 Modified: 15 Dec 2005 11:43
Reporter: Hartmut Holzgraefe Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.0.16 OS:HP/UX (HP/UX, Linux)
Assigned to: Assigned Account CPU Architecture:Any

[6 Dec 2005 12:31] Hartmut Holzgraefe
When using the NdbOperation::equal() method on a VARCHAR field
using wrong formatting in equal()s first parameter leads to node shutdowns.
When using wrong formatting on other field types like CHAR an error
is returned but clustor operation is not affected (as expected)

How to repeat:
See attached tarball

Suggested fix:
Implement better parameter checking, an API error should never be able to bring the cluster down
[6 Dec 2005 12:55] Hartmut Holzgraefe
self contained test case, see enclosed README for details

Attachment: bug-15517.tar.gz (application/x-gunzip, text), 126.09 KiB.

[14 Dec 2005 13:25] Jonas Oreland
Pushed into 5.0.18
[15 Dec 2005 11:43] Jon Stephens
Marked as duplicate of Bug #15682 after discussing with Jonas.