~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/substr.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:
125
125
 
126
126
  res->set_charset(collation.collation);
127
127
 
128
 
#ifdef USE_MB
129
128
  if (use_mb(res->charset()))
130
129
  {
131
130
    const char *ptr= res->ptr();
176
175
    }
177
176
  }
178
177
  else
179
 
#endif /* USE_MB */
180
178
  {
181
179
    if (count > 0)
182
180
    {                                   // start counting from the beginning