From f1afd17821be166fbcc0f33759ae43b0f43a949c Mon Sep 17 00:00:00 2001 From: "igor@rurik.mysql.com" <> Date: Fri, 2 Jun 2006 19:15:32 -0700 Subject: [PATCH] Cleanup for the fix of bug 18206. --- 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;