List:Commits« Previous MessageNext Message »
From:Magnus Blåudd Date:November 15 2010 3:03pm
Subject:bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4009) Bug#58204
View as plain text  
#At file:///home/msvensson/mysql/7.0/ based on revid:magnus.blaudd@stripped

 4009 Magnus Blåudd	2010-11-15
      Bug#58204 ndb declares strncasecmp and strcasecmp but does not implement them
       - remove HAVE_STRCASECMP define if on Windows
       - remove the extren declarations of strncasecmp and strcasecmp

    modified:
      storage/ndb/include/ndb_global.h
=== modified file 'storage/ndb/include/ndb_global.h'
--- a/storage/ndb/include/ndb_global.h	2010-11-11 13:19:26 +0000
+++ b/storage/ndb/include/ndb_global.h	2010-11-15 15:03:18 +0000
@@ -46,7 +46,6 @@
 #define NDB_WIN 1
 #define PATH_MAX 256
 #define DIR_SEPARATOR "\\"
-#define HAVE_STRCASECMP
 #pragma warning(disable: 4503 4786)
 #else
 #undef NDB_WIN32
@@ -107,11 +106,6 @@
 extern char * strdup(const char *s);
 #endif
 
-#ifndef HAVE_STRCASECMP
-extern int strcasecmp(const char *s1, const char *s2);
-extern int strncasecmp(const char *s1, const char *s2, size_t n);
-#endif
-
 static const char table_name_separator =  '/';
 
 #if defined(_AIX) || defined(WIN32) || defined(NDB_VC98)

Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20101115150318-ytegug0520ycbf7b.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4009) Bug#58204Magnus Blåudd15 Nov