Commit 2c5bffc4 authored by unknown's avatar unknown

Cleanup for the fix of bug 18206.


sql/opt_sum.cc:
  Cleanup
parent 287d1fd5
......@@ -543,10 +543,6 @@ static bool matching_cond(bool max_fl, TABLE_REF *ref, KEY *keyinfo,
break; // Found a part od the key for the field
}
#if 0
if (part->length != (((Item_field*) args[0])->field)->field_length)
return 0;
#endif
bool is_field_part= part == field_part;
if (!(is_field_part || eq_type))
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment