~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/functions/find_in_set.cc

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
    while (1)
72
72
    {
73
73
      int symbol_len;
74
 
      if ((symbol_len= cs->cset->mb_wc(cs, &wc, (unsigned char*) str_end, 
 
74
      if ((symbol_len= cs->cset->mb_wc(cs, &wc, (unsigned char*) str_end,
75
75
                                       (unsigned char*) real_end)) > 0)
76
76
      {
77
77
        const char *substr_end= str_end + symbol_len;