Commit cf40a990 authored by monty@bitch.mysql.fi's avatar monty@bitch.mysql.fi
Browse files

Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0

parents df8b307a 01b14507
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@
#include "m_string.h"

#ifdef HAVE_purify
#undef bcmp
#undef HAVE_BCMP
#endif

@@ -51,7 +50,11 @@ uint len; /* 0 <= len <= 65535 */

#else

#ifndef HAVE_purify
int bcmp(register const char *s1,register const char *s2, register uint len)
#else
int my_bcmp(register const char *s1,register const char *s2, register uint len)
#endif
{
  while (len-- != 0 && *s1++ == *s2++) ;
  return len+1;