~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/filesort.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-07 20:12:20 UTC
  • mto: (934.3.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 938.
  • Revision ID: osullivan.padraig@gmail.com-20090307201220-u9r93y0knyyb8ggy
Cleaning up my function object a little bit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1100
1100
  {
1101
1101
    int val= key_compare(key_compare_arg,
1102
1102
                      &i->key, &j->key);
1103
 
    if (val < 0)
1104
 
    {
1105
 
      return false;
1106
 
    }
1107
 
    else
1108
 
    {
1109
 
      return true;
1110
 
    }
 
1103
    return (val >= 0);
1111
1104
  }
1112
1105
};
1113
1106