~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2009-07-16 19:30:03 UTC
  • mfrom: (1093.1.17 captain)
  • Revision ID: brian@gaz-20090716193003-gwt4i1le2g02ay0j
Merge Jay

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