diff options
-rw-r--r-- | sql/filesort.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/filesort.cc b/sql/filesort.cc index 1e19d492220..7b4e0bc31cd 100644 --- a/sql/filesort.cc +++ b/sql/filesort.cc @@ -139,8 +139,6 @@ void Sort_param::try_to_pack_addons(ulong max_length_for_sort_data) return; const uint sz= Addon_fields::size_of_length_field; - if (rec_length + sz > max_length_for_sort_data) - return; // Heuristic: skip packing if potential savings are less than 10 bytes. if (m_packable_length < (10 + sz)) |