From e815f93bbfffd0ddc2c54df1b32c307b1f19c4b7 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 2 Jun 2006 19:15:32 -0700 Subject: [PATCH] Cleanup for the fix of bug 18206. sql/opt_sum.cc: Cleanup --- sql/opt_sum.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sql/opt_sum.cc b/sql/opt_sum.cc index 82211120c57..97e271121d3 100644 --- a/sql/opt_sum.cc +++ b/sql/opt_sum.cc @@ -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;