Bug #58204 ndb declares strncasecmp and strcasecmp but does not implement them

Submitted: 15 Nov 2010 15:01 Modified: 16 Nov 2010 15:44
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:7.0.21 OS:Any
Assigned to: Magnus Blåudd CPU Architecture:Any

[15 Nov 2010 15:01] Magnus Blåudd
Description:
The file ndb_global.h declares strncasecmp and strcasecmp if HAVE_STRCASECMP is not declared. Since it never implements the functions, this is misleading and should be removed.

How to repeat:
MCI

Suggested fix:
Remove #define HAVE_STRCASECMP for windows and the extern declarations of strncasecmp and strcasecmp.
[15 Nov 2010 15:05] 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/123923
[16 Nov 2010 9:16] Bugs System
Pushed into mysql-5.1-telco-7.0 5.1.51-ndb-7.0.21 (revid:magnus.blaudd@sun.com-20101115160744-4ggv4fxk0xuw7xyq) (version source revid:magnus.blaudd@sun.com-20101115150318-ytegug0520ycbf7b) (merge vers: 5.1.51-ndb-7.0.21) (pib:21)
[16 Nov 2010 9:20] Magnus Blåudd
Pushed to 7.0.21 and 7.1.10
[16 Nov 2010 15:44] Jon Stephens
Documented in the NDB-7.0.21 and 7.1.10 changelogs as follows:

        The functions strncasecmp and strcasecmp were declared in
        ndb_global.h but never defined or used. These declarations have
        been removed.

Closed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.