Bug #24503 Using BIT field with NdbScanFilter brings down cluster
Submitted: 22 Nov 2006 12:54 Modified: 7 Dec 2006 4:24
Reporter: Geert Vanderkelen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: NDB API Severity:S3 (Non-critical)
Version:5.0, 5.1 OS:Any (*)
Assigned to: Jonas Oreland CPU Architecture:Any
Tags: bit, ndbapi, ndbscanfilter

[22 Nov 2006 12:54] Geert Vanderkelen
Description:
I've been trying to use a BIT field with NdbScanFilter, but it always makes the one of the nodes segfault bringing down all nodes. This is because NDB API has no support for BIT fields yet, but it should not crash data nodes.

How to repeat:
Source attached to reproduce.

Suggested fix:
Handle the error better, eg. say it is not supported or make NdbScanFilter work with BIT fields.
[22 Nov 2006 12:56] Geert Vanderkelen
Verified using latest 5.1bk on Linux.
[22 Nov 2006 14:45] 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/15715

ChangeSet@1.2271, 2006-11-22 15:42:03+01:00, jonas@perch.ndb.mysql.com +5 -0
  ndb - bug#24503
    Fix scan filter on bit types
    (note should probably be enabled in condition pushdown aswell)
[22 Nov 2006 14:46] 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/15716

ChangeSet@1.2272, 2006-11-22 15:45:57+01:00, jonas@perch.ndb.mysql.com +1 -0
  ndb - bug#24503
    remove debug printouts
[7 Dec 2006 4:24] Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html

Documented bugfix for 5.0.32 and 5.1.14.
[4 Jan 2007 11:44] 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/17621