~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/reverse.cc

  • Committer: Monty Taylor
  • Date: 2009-07-09 00:04:44 UTC
  • mto: (1093.1.9 captain)
  • mto: This revision was merged to the branch mainline in revision 1097.
  • Revision ID: mordred@inaugust.com-20090709000444-1jf6qw4gvyhdab1a
Got rid of #ifdef have utf8 stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
  ptr= (char *) res->ptr();
44
44
  end= ptr + res->length();
45
45
  tmp= (char *) tmp_value.ptr() + tmp_value.length();
46
 
#ifdef USE_MB
47
46
  if (use_mb(res->charset()))
48
47
  {
49
48
    register uint32_t l;
60
59
    }
61
60
  }
62
61
  else
63
 
#endif /* USE_MB */
64
62
  {
65
63
    while (ptr < end)
66
64
      *--tmp= *ptr++;