Commit f6033157 authored by unknown's avatar unknown

charset.c:

  debug code has been removed
  ,


mysys/charset.c:
  debug code has been removed
  ,
parent 5dc8768a
...@@ -244,7 +244,6 @@ static int fill_uint16(uint16 *a,uint size,const char *str, uint len) ...@@ -244,7 +244,6 @@ static int fill_uint16(uint16 *a,uint size,const char *str, uint len)
{ {
uint i=0; uint i=0;
const char *s, *b, *e=str+len; const char *s, *b, *e=str+len;
char buf[6];
for (s=str ; s<e ; i++) for (s=str ; s<e ; i++)
{ {
for ( ; (s<e) && strchr(" \t\r\n",s[0]); s++); for ( ; (s<e) && strchr(" \t\r\n",s[0]); s++);
...@@ -254,7 +253,6 @@ static int fill_uint16(uint16 *a,uint size,const char *str, uint len) ...@@ -254,7 +253,6 @@ static int fill_uint16(uint16 *a,uint size,const char *str, uint len)
break; break;
if (i>size) if (i>size)
break; break;
mstr(buf,b,6,s-b);
a[i]=my_strntol(my_charset_latin1,b,s-b,NULL,16); a[i]=my_strntol(my_charset_latin1,b,s-b,NULL,16);
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment