~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/resolve_stack_dump.c

  • Committer: Monty Taylor
  • Date: 2008-09-13 20:24:20 UTC
  • mfrom: (383.1.35 drizzle)
  • Revision ID: monty@inaugust.com-20080913202420-lkj76ewbabl8ljvp
MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
static uchar hex_val(char c)
170
170
{
171
171
  uchar l;
172
 
  if (my_isdigit(&my_charset_latin1,c))
 
172
  if (my_isdigit(&my_charset_utf8_general_ci,c))
173
173
    return c - '0';
174
 
  l = my_tolower(&my_charset_latin1,c);
 
174
  l = my_tolower(&my_charset_utf8_general_ci,c);
175
175
  if (l < 'a' || l > 'f')
176
176
    return HEX_INVALID; 
177
177
  return (uchar)10 + ((uchar)c - (uchar)'a');
197
197
 
198
198
  if (!se->addr)
199
199
    return -1;
200
 
  while (my_isspace(&my_charset_latin1,*buf++))
 
200
  while (my_isspace(&my_charset_utf8_general_ci,*buf++))
201
201
    /* empty */;
202
202
 
203
 
  while (my_isspace(&my_charset_latin1,*buf++))
 
203
  while (my_isspace(&my_charset_utf8_general_ci,*buf++))
204
204
    /* empty - skip more space */;
205
205
  --buf;
206
206
  /* now we are on the symbol */
282
282
  {
283
283
    p = buf;
284
284
    /* skip space */
285
 
    while (my_isspace(&my_charset_latin1,*p))
 
285
    while (my_isspace(&my_charset_utf8_general_ci,*p))
286
286
      ++p;
287
287
 
288
288
    if (*p++ == '0' && *p++ == 'x')