~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/range.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-23 19:30:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2447.
  • Revision ID: olafvdspek@gmail.com-20111023193049-yci63y74smzkt98i
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
2835
2835
      max_str[0]= min_str[0]=0;
2836
2836
 
2837
2837
    field_length-= maybe_null;
2838
 
    int escape_code= make_escape_code(field->charset(),
2839
 
                                      ((Item_func_like*)(param->cond))->escape);
 
2838
    int escape_code= make_escape_code(field->charset(), ((Item_func_like*)(param->cond))->escape);
2840
2839
    like_error= my_like_range(field->charset(),
2841
2840
                              res->ptr(), res->length(),
2842
2841
                              escape_code,