diff options
author | igor@rurik.mysql.com <> | 2006-06-02 19:15:32 -0700 |
---|---|---|
committer | igor@rurik.mysql.com <> | 2006-06-02 19:15:32 -0700 |
commit | f1afd17821be166fbcc0f33759ae43b0f43a949c (patch) | |
tree | 650bb966578042bd06187311b08c7d1b43380333 /sql/opt_sum.cc | |
parent | d02f254eaaef3275db6c0838e9321ac0d7c4a336 (diff) | |
download | mariadb-git-f1afd17821be166fbcc0f33759ae43b0f43a949c.tar.gz |
Cleanup for the fix of bug 18206.
Diffstat (limited to 'sql/opt_sum.cc')
-rw-r--r-- | sql/opt_sum.cc | 4 |
1 files changed, 0 insertions, 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; |