diff options
author | unknown <igor@rurik.mysql.com> | 2006-06-02 19:15:32 -0700 |
---|---|---|
committer | unknown <igor@rurik.mysql.com> | 2006-06-02 19:15:32 -0700 |
commit | e815f93bbfffd0ddc2c54df1b32c307b1f19c4b7 (patch) | |
tree | 650bb966578042bd06187311b08c7d1b43380333 /sql/opt_sum.cc | |
parent | ccad0572f5c7a20d909785732995984de9d76552 (diff) | |
download | mariadb-git-e815f93bbfffd0ddc2c54df1b32c307b1f19c4b7.tar.gz |
Cleanup for the fix of bug 18206.
sql/opt_sum.cc:
Cleanup
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; |