From e157f817713f22f26b584155faa38b121deff222 Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Mon, 23 Sep 2019 10:41:13 +0300 Subject: [PATCH] Remove Field::is_stat_field completely --- sql/field.cc | 1 - sql/field.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/sql/field.cc b/sql/field.cc index 99cda09f2bb..1e1de972e86 100644 --- a/sql/field.cc +++ b/sql/field.cc @@ -1767,7 +1767,6 @@ Field::Field(uchar *ptr_arg,uint32 length_arg,uchar *null_ptr_arg, comment.str= (char*) ""; comment.length=0; field_index= 0; - is_stat_field= FALSE; cond_selectivity= 1.0; next_equal_field= NULL; } diff --git a/sql/field.h b/sql/field.h index 35f531ac4ab..187ad7674d6 100644 --- a/sql/field.h +++ b/sql/field.h @@ -729,9 +729,6 @@ public: */ bool is_created_from_null_item; - /* TRUE in Field objects created for column min/max values */ - bool is_stat_field; - /* Selectivity of the range condition over this field. When calculating this selectivity a range predicate